diff options
author | Pauli <paul.dale@oracle.com> | 2019-08-29 23:29:35 +0200 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2019-08-29 23:55:46 +0200 |
commit | 46a9cc9451213039fd53f62733b2ccd04e853bb2 (patch) | |
tree | 4cf28fcb6b6807c0a7f1e54c888d9c97f77a8dcb /crypto | |
parent | fix ERR_add_error_vdata() for use with multiple args/calls (diff) | |
download | openssl-46a9cc9451213039fd53f62733b2ccd04e853bb2.tar.xz openssl-46a9cc9451213039fd53f62733b2ccd04e853bb2.zip |
Fix NITs in comments and CHANGES for DEVRANDOM seeded check.
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/9734)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/rand/rand_unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/rand/rand_unix.c b/crypto/rand/rand_unix.c index 7e20fa29c6..e59882cde7 100644 --- a/crypto/rand/rand_unix.c +++ b/crypto/rand/rand_unix.c @@ -367,7 +367,7 @@ static int wait_random_seeded(void) fd_set fds; if (!seeded) { - /* See if anthing has created the global seeded indication */ + /* See if anything has created the global seeded indication */ if ((shm_id = shmget(OPENSSL_RAND_SEED_DEVRANDOM_SHM_ID, 1, 0)) == -1) { /* * Check the kernel's version and fail if it is too recent. @@ -401,7 +401,7 @@ static int wait_random_seeded(void) close(fd); if (r == 1) { seeded = 1; - /* Craete the shared memory indicator */ + /* Create the shared memory indicator */ shm_id = shmget(OPENSSL_RAND_SEED_DEVRANDOM_SHM_ID, 1, IPC_CREAT | S_IRUSR | S_IRGRP | S_IROTH); } |