[tor-commits] [tor/master] fixup! hs-v3: Silence some logging for client authorization

nickm at torproject.org nickm at torproject.org
Wed Sep 26 12:40:01 UTC 2018


commit 49e4bda50bdf723d6cdc8e7a0fb24619fded5f2c
Author: David Goulet <dgoulet at torproject.org>
Date:   Fri Sep 21 08:52:47 2018 -0400

    fixup! hs-v3: Silence some logging for client authorization
---
 src/feature/hs/hs_descriptor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/feature/hs/hs_descriptor.c b/src/feature/hs/hs_descriptor.c
index 9c85a729e..b9a0c0ef1 100644
--- a/src/feature/hs/hs_descriptor.c
+++ b/src/feature/hs/hs_descriptor.c
@@ -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;





More information about the tor-commits mailing list