Browse code

auth: remove commented out code block related to PRNG initialization

Henning Westerholt authored on 21/09/2019 22:09:53
Showing 1 changed files
... ...
@@ -247,8 +247,6 @@ static inline int generate_random_secret(void)
247 247
 		return -1;
248 248
 	}
249 249
 
250
-	/* srandom(time(0));  -- seeded by core */
251
-
252 250
 	for(i = 0; i < RAND_SECRET_LEN; i++) {
253 251
 		sec_rand1[i] = 32 + (int)(95.0 * kam_rand() / (KAM_RAND_MAX + 1.0));
254 252
 	}