1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 18:15:18 -07:00
This commit is contained in:
Frank Denis 2023-09-01 16:32:45 +02:00
parent 0ea62015f2
commit baa75cd1b8

View File

@ -183,7 +183,7 @@ static int
randombytes_getentropy(void * const buf, const size_t size) randombytes_getentropy(void * const buf, const size_t size)
{ {
if (CCRandomGenerateBytes(buf, size) != kCCSuccess) { if (CCRandomGenerateBytes(buf, size) != kCCSuccess) {
return -1; return -1;
} }
return 0; return 0;
} }