[tor-commits] [tor/maint-0.3.2] remove redundant "implement this" from log message
arma at torproject.org
arma at torproject.org
Fri Jan 5 23:31:57 UTC 2018
commit 5f2c7a85671ee514892bc5ca265e6715d48cd0f8
Author: Roger Dingledine <arma at torproject.org>
Date: Fri Jan 5 18:23:07 2018 -0500
remove redundant "implement this" from log message
---
src/common/crypto.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/common/crypto.c b/src/common/crypto.c
index 380f038f4..c9db7cb4b 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -2877,10 +2877,10 @@ crypto_strongest_rand_syscall(uint8_t *out, size_t out_len)
/* Useful log message for errno. */
if (errno == ENOSYS) {
- log_warn(LD_CRYPTO, "Can't get entropy from getrandom(). "
+ log_warn(LD_CRYPTO, "Can't get entropy from getrandom()."
" You are running a version of Tor built to support"
" getrandom(), but the kernel doesn't implement this"
- " implement this function--probably because it is too old?");
+ " function--probably because it is too old?");
} else {
log_warn(LD_CRYPTO, "Can't get entropy from getrandom(): %s.",
strerror(errno));
More information about the tor-commits
mailing list