diff options
author | Roger Dingledine <arma@torproject.org> | 2016-12-18 03:48:31 -0500 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2016-12-18 03:48:31 -0500 |
commit | f3d056ab16e55ae88a0f9e0808e1576e41949cc6 (patch) | |
tree | dbf553d821e797ceb2c190ec39356028c8778df6 /src | |
parent | 9e0d3eea4674572ad1a4c517b37b12bf35557bbb (diff) | |
download | tor-f3d056ab16e55ae88a0f9e0808e1576e41949cc6.tar.gz tor-f3d056ab16e55ae88a0f9e0808e1576e41949cc6.zip |
clarify debug-level log while initializing entropy
I got confused when I saw my Tor saying it was opening a file
that doesn't exist. It turns out it isn't opening it, it's just
calling open() on it and then moving on when it's not there.
Diffstat (limited to 'src')
-rw-r--r-- | src/common/crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index 60d77fcfaa..062179deda 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -2895,7 +2895,7 @@ crypto_strongest_rand_fallback(uint8_t *out, size_t out_len) size_t n; for (i = 0; filenames[i]; ++i) { - log_debug(LD_FS, "Opening %s for entropy", filenames[i]); + log_debug(LD_FS, "Considering %s for entropy", filenames[i]); fd = open(sandbox_intern_string(filenames[i]), O_RDONLY, 0); if (fd<0) continue; log_info(LD_CRYPTO, "Reading entropy from \"%s\"", filenames[i]); |