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);