summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPatrick Okraku <patrick@okraku.com>2023-12-30 13:33:36 +0100
committerPatrick <tingping@tingping.se>2024-01-04 16:17:14 -0600
commit0c4878554323e6cd9a60b3dd5b19ffccb40dfb63 (patch)
tree1a59e3c92046455587b259ed946ffce0df0a52c9
parent00b297524d7f5df07ae5d0827bc0eb4018651765 (diff)
SASL SCRAM: create_nonce: changed data type
-rw-r--r--src/common/scram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/scram.c b/src/common/scram.c
index f572d84d..b39199de 100644
--- a/src/common/scram.c
+++ b/src/common/scram.c
@@ -78,7 +78,7 @@ scram_session_free (scram_session *session)
 }
 
 static int
-create_nonce (char *buffer, size_t length)
+create_nonce (void *buffer, size_t length)
 {
 	return RAND_bytes (buffer, length);
 }