SASL SCRAM: create_nonce: changed data type

This commit is contained in:
Patrick Okraku 2023-12-30 13:33:36 +01:00 committed by Patrick
parent 00b297524d
commit 0c48785543

View File

@ -78,7 +78,7 @@ scram_session_free (scram_session *session)
} }
static int static int
create_nonce (char *buffer, size_t length) create_nonce (void *buffer, size_t length)
{ {
return RAND_bytes (buffer, length); return RAND_bytes (buffer, length);
} }