Fix comparison to use correct symbol name (__rand vs. rand)
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 10 Nov 2009 14:51:59 +0000 (16:51 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 10 Nov 2009 14:51:59 +0000 (16:51 +0200)
commit6689218ec77165de16e07a49b627cb41bdb327c1
tree70a10ae6e55b493169cb31bf5129e1ac593e1adb
parentea20a1ad03758c58a4c24530808d622f1cab3f87
Fix comparison to use correct symbol name (__rand vs. rand)

rand would be the address of rand() function and never NULL. The previous
version could have crashed on invalid AKA-AUTS command. Though, these
commands are only from hostapd which sends valid requests and as such,
the actual issue did not show up.
src/hlr_auc_gw/hlr_auc_gw.c