summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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