summaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-02-12 04:37:13 +0000
committerNick Mathewson <nickm@torproject.org>2008-02-12 04:37:13 +0000
commit5ced3fd790ed62574df345bc04ec01de45ea711d (patch)
tree2522cd77e3df755d884337be146903c58c6c6959 /src/common/tortls.c
parent868229338850ced11bf08d9484d38693d1af644c (diff)
downloadtor-5ced3fd790ed62574df345bc04ec01de45ea711d.tar.gz
tor-5ced3fd790ed62574df345bc04ec01de45ea711d.zip
r18036@catbus: nickm | 2008-02-11 23:36:38 -0500
Make a couple of messages less noisy svn:r13476
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r--src/common/tortls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index 51ce4a6c3a..76c7702857 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -43,7 +43,7 @@ const char tortls_c_id[] =
#include <string.h>
// #define V2_HANDSHAKE_SERVER
-// #define V2_HANDSHAKE_CLIENT
+#define V2_HANDSHAKE_CLIENT
/* Copied from or.h */
#define LEGAL_NICKNAME_CHARACTERS \
@@ -828,7 +828,7 @@ tor_tls_read(tor_tls_t *tls, char *cp, size_t len)
#ifdef V2_HANDSHAKE_SERVER
if (tls->got_renegotiate) {
/* Renegotiation happened! */
- log_notice(LD_NET, "Got a TLS renegotiation from %p", tls);
+ log_info(LD_NET, "Got a TLS renegotiation from %p", tls);
if (tls->negotiated_callback)
tls->negotiated_callback(tls, tls->callback_arg);
tls->got_renegotiate = 0;
@@ -934,7 +934,7 @@ tor_tls_handshake(tor_tls_t *tls)
if (n_certs > 1 || (n_certs == 1 && cert != sk_X509_value(chain, 0)))
tls->wasV2Handshake = 0;
else {
- log_notice(LD_NET, "I think I got a v2 handshake on %p!", tls);
+ log_debug(LD_NET, "I think I got a v2 handshake on %p!", tls);
tls->wasV2Handshake = 1;
}
if (cert)