Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion random.c
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ static int randombytes_bsd_randombytes(void *buf, size_t n)
{
#if defined(MAC_OS_X_VERSION_10_15) && \
MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_15
/* We prefere CCRandomGenerateBytes as it returns an error code while
/* We prefer CCRandomGenerateBytes as it returns an error code while
* arc4random_buf may fail silently on macOS.
*/
return (CCRandomGenerateBytes(buf, n) == kCCSuccess);
Expand Down