summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2010-10-01 17:48:07 -0700
committerNick Mathewson <nickm@torproject.org>2010-10-04 13:53:48 -0400
commitc70d9d77ab304dd490be7bb3fefd0eeb89d37373 (patch)
tree24e18a1f82aa8c907b55163aa8f3120465f36918 /src
parent068185eca2e2f8b51069f81b00c24c56da05b859 (diff)
downloadtor-c70d9d77ab304dd490be7bb3fefd0eeb89d37373.tar.gz
tor-c70d9d77ab304dd490be7bb3fefd0eeb89d37373.zip
Correct a couple of log messages in tortls.c
Diffstat (limited to 'src')
-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 25d44cc970..0304045e63 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -930,7 +930,7 @@ tor_tls_new(int sock, int isServer)
tor_assert(global_tls_context); /* make sure somebody made it first */
if (!(result->ssl = SSL_new(global_tls_context->ctx))) {
- tls_log_errors(NULL, LOG_WARN, LD_NET, "generating TLS context");
+ tls_log_errors(NULL, LOG_WARN, LD_NET, "creating SSL object");
tor_free(result);
return NULL;
}
@@ -987,7 +987,7 @@ tor_tls_new(int sock, int isServer)
#endif
/* Not expected to get called. */
- tls_log_errors(NULL, LOG_WARN, LD_NET, "generating TLS context");
+ tls_log_errors(NULL, LOG_WARN, LD_NET, "creating tor_tls_t object");
return result;
}