Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
eddielin0926 committed Feb 19, 2023
1 parent c5ac41b commit c6e3c44
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit c6e3c44

Please sign in to comment.