mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Correct a couple of log messages in tortls.c
This commit is contained in:
committed by
Nick Mathewson
parent
068185eca2
commit
c70d9d77ab
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user