Skip to content
Permalink
Browse files
Initialize random for verification key generation too
  • Loading branch information
est31 committed Aug 6, 2015
1 parent bcf47bc commit 49cf66d78566de128ec8879044e9d9e2fac0ba1c
Showing 1 changed file with 2 additions and 0 deletions.
@@ -593,6 +593,8 @@ void srp_create_salted_verification_key( SRP_HashAlgorithm alg,
if(!ng)
goto cleanup_and_exit;

init_random(); /* Only happens once */

if (*bytes_s == NULL) {
*len_s = 16;
if (RAND_BUFF_MAX - g_rand_idx < 16)

0 comments on commit 49cf66d

Please sign in to comment.