aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-03-24 18:37:52 +0000
committerRoger Dingledine <arma@torproject.org>2008-03-24 18:37:52 +0000
commit901e2ad04b162d0ec00d166c394b8febf6cf5120 (patch)
treeabe8ac515b136160faa8c3abebd25f2ed29b7391
parent13174b8f973587652f23d79a530cdd84a23ee34b (diff)
downloadtor-901e2ad04b162d0ec00d166c394b8febf6cf5120.tar
tor-901e2ad04b162d0ec00d166c394b8febf6cf5120.tar.gz
correct a confusing log message
svn:r14165
-rw-r--r--src/common/tortls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index fb5fb7ee1..ac2f8ebc8 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -622,7 +622,7 @@ tor_tls_context_new(crypto_pk_env_t *identity, unsigned int key_lifetime)
#ifdef V2_HANDSHAKE_SERVER
/** Return true iff the cipher list suggested by the client for <b>ssl</b> is
- * a list that indicates that the client know how to do the v2 TLS connection
+ * a list that indicates that the client knows how to do the v2 TLS connection
* handshake. */
static int
tor_tls_client_is_using_v2_ciphers(const SSL *ssl, const char *address)
@@ -666,7 +666,7 @@ tor_tls_client_is_using_v2_ciphers(const SSL *ssl, const char *address)
}
s = smartlist_join_strings(elts, ":", 0, NULL);
log_info(LD_NET, "Got a non-version-1 cipher list from %s. It is: '%s'",
- s, address);
+ address, s);
tor_free(s);
smartlist_free(elts);
}