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
commit3249001e7eef28d8bdfeb39939bb2d044342da55 (patch)
tree371be709a61c1466c6e633c1a7d7c3efcb02a6e0 /src
parent2f38dbc6c741464b154dec17667a8abf7324e215 (diff)
downloadopenbsd-3249001e7eef28d8bdfeb39939bb2d044342da55.tar.gz
openbsd-3249001e7eef28d8bdfeb39939bb2d044342da55.tar.bz2
openbsd-3249001e7eef28d8bdfeb39939bb2d044342da55.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