From ad49d05a8bd19b43f9758d82793c46e2a233e687 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 24 Sep 2013 14:06:26 -0700 Subject: [PATCH] Match randombytes() prototype with declaration. --- src/libsodium/include/sodium/randombytes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsodium/include/sodium/randombytes.h b/src/libsodium/include/sodium/randombytes.h index 5a2176b9..db5077e6 100644 --- a/src/libsodium/include/sodium/randombytes.h +++ b/src/libsodium/include/sodium/randombytes.h @@ -26,7 +26,7 @@ SODIUM_EXPORT int randombytes_set_implementation(randombytes_implementation *impl); SODIUM_EXPORT -void randombytes(unsigned char *buf, unsigned long long size); +void randombytes(unsigned char * const buf, const unsigned long long buf_len); SODIUM_EXPORT const char *randombytes_implementation_name(void);