mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
don't warn when private_decrypt_hybrid fails
svn:r1689
This commit is contained in:
parent
7e2a2a7f81
commit
6a45028ccb
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user