diff options
author | Roger Dingledine <arma@torproject.org> | 2004-04-25 04:32:59 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-04-25 04:32:59 +0000 |
commit | 6a45028ccbb8ff18aa07e7853e12a04a1102fb3e (patch) | |
tree | fec8ca514d59136468062e9c5171e6f0dab00fdb | |
parent | 7e2a2a7f81a735278de6011987b5cebe6502c545 (diff) | |
download | tor-6a45028ccbb8ff18aa07e7853e12a04a1102fb3e.tar tor-6a45028ccbb8ff18aa07e7853e12a04a1102fb3e.tar.gz |
don't warn when private_decrypt_hybrid fails
svn:r1689
-rw-r--r-- | src/common/crypto.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index 831aaaa2c..8b2268cf7 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -620,7 +620,9 @@ int crypto_pk_private_hybrid_decrypt(crypto_pk_env_t *env, } outlen = crypto_pk_private_decrypt(env,from,pkeylen,buf,padding); if (outlen<0) { - log_fn(LOG_WARN, "Error decrypting public-key data"); + /* this is only log-levelinfo, because when we're decrypting + * onions, we try several keys to see which will work */ + log_fn(LOG_INFO, "Error decrypting public-key data"); return -1; } if (outlen < CIPHER_KEY_LEN) { |