diff --git a/modules/saslserv/ecdsa-nist256p-challenge.c b/modules/saslserv/ecdsa-nist256p-challenge.c index fbff4a3f8..63745d433 100644 --- a/modules/saslserv/ecdsa-nist256p-challenge.c +++ b/modules/saslserv/ecdsa-nist256p-challenge.c @@ -110,7 +110,7 @@ static int mech_step_accname(sasl_session_t *p, char *message, size_t len, char o2i_ECPublicKey(&s->pubkey, &pubkey_raw_p, ret); #ifndef DEBUG_STATIC_CHALLENGE_VECTOR - RAND_pseudo_bytes(s->challenge, CHALLENGE_LENGTH); + RAND_bytes(s->challenge, CHALLENGE_LENGTH); #else memset(s->challenge, 'A', CHALLENGE_LENGTH); #endif