summaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-10-10 01:48:03 +0000
committerRoger Dingledine <arma@torproject.org>2003-10-10 01:48:03 +0000
commit36fb8e839df7fadc5aac8be71cf026c4966cad76 (patch)
tree92f9531d49b490743a6427b1de3529b942858bab /src/common/tortls.c
parentecfb36823e2daadbf44fcb2c9f108acc2cfcd511 (diff)
downloadtor-36fb8e839df7fadc5aac8be71cf026c4966cad76.tar.gz
tor-36fb8e839df7fadc5aac8be71cf026c4966cad76.zip
change WARNING to WARN
svn:r570
Diffstat (limited to 'src/common/tortls.c')
-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 e8e2dc3cc8..e54c44d312 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -215,7 +215,7 @@ tor_tls_context_new(crypto_pk_env_t *rsa,
if (rsa) {
cert = tor_tls_create_certificate(rsa, nickname);
if (!cert) {
- log(LOG_WARNING, "Error creating certificate");
+ log(LOG_WARN, "Error creating certificate");
return -1;
}
}
@@ -415,7 +415,7 @@ tor_tls_shutdown(tor_tls *tls)
*/
if (tls->state == TOR_TLS_ST_GOTCLOSE ||
tls->state == TOR_TLS_ST_SENTCLOSE) {
- log(LOG_WARNING,
+ log(LOG_WARN,
"TLS returned \"half-closed\" value while already half-closed");
return TOR_TLS_ERROR;
}