aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/crypto.c4
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) {