Przeglądaj źródła

Demote a warning about missing client ciphers

Sebastian Hahn 15 lat temu
rodzic
commit
0b82ce3eb6
2 zmienionych plików z 7 dodań i 2 usunięć
  1. 5 0
      changes/demote_no_cipher_warning
  2. 2 2
      src/common/tortls.c

+ 5 - 0
changes/demote_no_cipher_warning

@@ -0,0 +1,5 @@
+  o Minor bugfixes:
+    - Demote a warning that relay operators might get when someone is
+      trying to talk to their OrPort. It is neither the operator's fault
+      nor can they do anything about it. Bugfix on 0.2.0.14-alpha; fixes
+      bug 1364.

+ 2 - 2
src/common/tortls.c

@@ -746,11 +746,11 @@ tor_tls_client_is_using_v2_ciphers(const SSL *ssl, const char *address)
   /* If we reached this point, we just got a client hello.  See if there is
    * a cipher list. */
   if (!(session = SSL_get_session((SSL *)ssl))) {
-    log_warn(LD_NET, "No session on TLS?");
+    log_info(LD_NET, "No session on TLS?");
     return 0;
   }
   if (!session->ciphers) {
-    log_warn(LD_NET, "No ciphers on session");
+    log_info(LD_NET, "No ciphers on session");
     return 0;
   }
   /* Now we need to see if there are any ciphers whose presence means we're