From 6a45028ccbb8ff18aa07e7853e12a04a1102fb3e Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sun, 25 Apr 2004 04:32:59 +0000 Subject: don't warn when private_decrypt_hybrid fails svn:r1689 --- src/common/crypto.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) { -- cgit v1.2.3