mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
fixup! hs-v3: Silence some logging for client authorization
This commit is contained in:
parent
672620901b
commit
49e4bda50b
@ -1389,7 +1389,7 @@ encrypted_data_length_is_valid(size_t len)
|
||||
/* Make sure there is enough data for the salt and the mac. The equality is
|
||||
there to ensure that there is at least one byte of encrypted data. */
|
||||
if (len <= HS_DESC_ENCRYPTED_SALT_LEN + DIGEST256_LEN) {
|
||||
log_info(LD_REND, "Length of descriptor's encrypted data is too small. "
|
||||
log_warn(LD_REND, "Length of descriptor's encrypted data is too small. "
|
||||
"Got %lu but minimum value is %d",
|
||||
(unsigned long)len, HS_DESC_ENCRYPTED_SALT_LEN + DIGEST256_LEN);
|
||||
goto err;
|
||||
|
Loading…
Reference in New Issue
Block a user