summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortj <>2016-04-19 20:20:24 +0000
committertj <>2016-04-19 20:20:24 +0000
commit86631535ec5e92d1d055ad8b03986f6dc52cc4d7 (patch)
tree371be709a61c1466c6e633c1a7d7c3efcb02a6e0 /src
parent9d3da640f6cc3dcac220438c3f6e04e4dfe556a6 (diff)
downloadopenbsd-86631535ec5e92d1d055ad8b03986f6dc52cc4d7.tar.gz
openbsd-86631535ec5e92d1d055ad8b03986f6dc52cc4d7.tar.bz2
openbsd-86631535ec5e92d1d055ad8b03986f6dc52cc4d7.zip
fix typo in comment; ok beck
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/arc4random/getentropy_linux.c4
-rw-r--r--src/lib/libcrypto/crypto/getentropy_linux.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/arc4random/getentropy_linux.c b/src/lib/libcrypto/arc4random/getentropy_linux.c
index 2a0a6875e4..c4cb476cd8 100644
--- a/src/lib/libcrypto/arc4random/getentropy_linux.c
+++ b/src/lib/libcrypto/arc4random/getentropy_linux.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: getentropy_linux.c,v 1.41 2015/09/11 11:52:55 deraadt Exp $ */ 1/* $OpenBSD: getentropy_linux.c,v 1.42 2016/04/19 20:20:24 tj Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> 4 * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org>
@@ -120,7 +120,7 @@ getentropy(void *buf, size_t len)
120 * Try to use sysctl CTL_KERN, KERN_RANDOM, RANDOM_UUID. 120 * Try to use sysctl CTL_KERN, KERN_RANDOM, RANDOM_UUID.
121 * sysctl is a failsafe API, so it guarantees a result. This 121 * sysctl is a failsafe API, so it guarantees a result. This
122 * should work inside a chroot, or when file descriptors are 122 * should work inside a chroot, or when file descriptors are
123 * exhuasted. 123 * exhausted.
124 * 124 *
125 * However this can fail if the Linux kernel removes support 125 * However this can fail if the Linux kernel removes support
126 * for sysctl. Starting in 2007, there have been efforts to 126 * for sysctl. Starting in 2007, there have been efforts to
diff --git a/src/lib/libcrypto/crypto/getentropy_linux.c b/src/lib/libcrypto/crypto/getentropy_linux.c
index 2a0a6875e4..c4cb476cd8 100644
--- a/src/lib/libcrypto/crypto/getentropy_linux.c
+++ b/src/lib/libcrypto/crypto/getentropy_linux.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: getentropy_linux.c,v 1.41 2015/09/11 11:52:55 deraadt Exp $ */ 1/* $OpenBSD: getentropy_linux.c,v 1.42 2016/04/19 20:20:24 tj Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> 4 * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org>
@@ -120,7 +120,7 @@ getentropy(void *buf, size_t len)
120 * Try to use sysctl CTL_KERN, KERN_RANDOM, RANDOM_UUID. 120 * Try to use sysctl CTL_KERN, KERN_RANDOM, RANDOM_UUID.
121 * sysctl is a failsafe API, so it guarantees a result. This 121 * sysctl is a failsafe API, so it guarantees a result. This
122 * should work inside a chroot, or when file descriptors are 122 * should work inside a chroot, or when file descriptors are
123 * exhuasted. 123 * exhausted.
124 * 124 *
125 * However this can fail if the Linux kernel removes support 125 * However this can fail if the Linux kernel removes support
126 * for sysctl. Starting in 2007, there have been efforts to 126 * for sysctl. Starting in 2007, there have been efforts to