summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPatrick Okraku <patrick@okraku.com>2023-12-30 11:09:34 +0100
committerPatrick <tingping@tingping.se>2024-01-04 16:17:14 -0600
commit00b297524d7f5df07ae5d0827bc0eb4018651765 (patch)
tree24d43a61215a1e1ffdbe3c330ff8aad3b3f190ad
parent681a88d6df2ad67e3d590fada15322b1b3ee08af (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 b39199de..f572d84d 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 (void *buffer, size_t length)
+create_nonce (char *buffer, size_t length)
 {
 	return RAND_bytes (buffer, length);
 }