summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2011-10-11 04:24:33 +0200
committerNick Mathewson <nickm@torproject.org>2011-10-10 23:14:31 -0400
commit35fe4825fc7da01367f37bc73ea4fc5c9d61ed2d (patch)
treec4d5801c6c60061dfaf2774a94fa8320cdc8c5f6 /src/or
parent66200320ffe584893acaf4ea5a55851039e2e92c (diff)
downloadtor-35fe4825fc7da01367f37bc73ea4fc5c9d61ed2d.tar.gz
tor-35fe4825fc7da01367f37bc73ea4fc5c9d61ed2d.zip
Quiet two notices, and spelling mistake cleanup
Diffstat (limited to 'src/or')
-rw-r--r--src/or/command.c4
-rw-r--r--src/or/connection_or.c4
-rw-r--r--src/or/or.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/or/command.c b/src/or/command.c
index 8cf6c46401..738bf35d9c 100644
--- a/src/or/command.c
+++ b/src/or/command.c
@@ -992,7 +992,7 @@ command_process_cert_cell(var_cell_t *cell, or_connection_t *conn)
conn->handshake_state->authenticated_peer_id) < 0)
ERR("Problem setting or checking peer id");
- log_info(LD_OR, "Got some good certifcates from %s:%d: Authenticated it.",
+ log_info(LD_OR, "Got some good certificates from %s:%d: Authenticated it.",
safe_str(conn->_base.address), conn->_base.port);
conn->handshake_state->id_cert = id_cert;
@@ -1010,7 +1010,7 @@ command_process_cert_cell(var_cell_t *cell, or_connection_t *conn)
ERR("The ID certificate was not valid");
- log_info(LD_OR, "Got some good certifcates from %s:%d: "
+ log_info(LD_OR, "Got some good certificates from %s:%d: "
"Waiting for AUTHENTICATE.",
safe_str(conn->_base.address), conn->_base.port);
/* XXXX check more stuff? */
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index 42fcea275e..bcae075c56 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -1181,7 +1181,7 @@ connection_tls_continue_handshake(or_connection_t *conn)
if (!tor_tls_is_server(conn->tls)) {
if (conn->_base.state == OR_CONN_STATE_TLS_HANDSHAKING) {
if (tor_tls_received_v3_certificate(conn->tls)) {
- log_notice(LD_OR, "Client got a v3 cert! Moving on to v3 "
+ log_info(LD_OR, "Client got a v3 cert! Moving on to v3 "
"handshake.");
return connection_or_launch_v3_or_handshake(conn);
} else {
@@ -1241,7 +1241,7 @@ connection_or_handle_event_cb(struct bufferevent *bufev, short event,
if (!tor_tls_is_server(conn->tls)) {
if (conn->_base.state == OR_CONN_STATE_TLS_HANDSHAKING) {
if (tor_tls_received_v3_certificate(conn->tls)) {
- log_notice(LD_OR, "Client got a v3 cert!");
+ log_info(LD_OR, "Client got a v3 cert!");
if (connection_or_launch_v3_or_handshake(conn) < 0)
connection_mark_for_close(TO_CONN(conn));
return;
diff --git a/src/or/or.h b/src/or/or.h
index 7268ae6f0c..6969a9cff7 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -301,7 +301,7 @@ typedef enum {
* haven't yet negotiated link protocol versions, done a V3 handshake, and
* sent a netinfo cell. */
#define OR_CONN_STATE_OR_HANDSHAKING_V3 7
-/** State for an OR connection:: Ready to send/receive cells. */
+/** State for an OR connection: Ready to send/receive cells. */
#define OR_CONN_STATE_OPEN 8
#define _OR_CONN_STATE_MAX 8