]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
remove redundant "implement this" from log message
authorRoger Dingledine <arma@torproject.org>
Fri, 5 Jan 2018 23:23:07 +0000 (18:23 -0500)
committerRoger Dingledine <arma@torproject.org>
Fri, 5 Jan 2018 23:23:07 +0000 (18:23 -0500)
src/common/crypto.c

index 380f038f427a9644283cd7a615e74a9c918173be..c9db7cb4baad653a95723f26a653aff7bbb70619 100644 (file)
@@ -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));