fix non-randomness of TMSI by seeding the PRNG. Later we should use openssl
This commit is contained in:
parent
41fbf443a0
commit
65ccf88feb
|
@ -1076,6 +1076,9 @@ int main(int argc, char **argv)
|
|||
}
|
||||
printf("DB: Database prepared.\n");
|
||||
|
||||
/* seed the PRNG */
|
||||
srand(time(NULL));
|
||||
|
||||
rc = bootstrap_network();
|
||||
if (rc < 0)
|
||||
exit(1);
|
||||
|
|
Loading…
Reference in New Issue