Module: sip-router Branch: 3.2 Commit: 85b304f2bba2b0bb239ad52a071e32deba9b07c1 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=85b304f2...
Author: Peter Dunkley peter.dunkley@crocodile-rcs.com Committer: Peter Dunkley peter.dunkley@crocodile-rcs.com Date: Tue Jun 12 02:01:10 2012 +0100
modules/tls: Fixed log level and diagnostic typo
- Fix by Hugh Waite @ Crocodile RCS Ltd (cherry picked from commit 3d3b1daf319fe87b880671cd5de9a2a6ace6c64b)
---
modules/tls/tls_mod.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/tls/tls_mod.c b/modules/tls/tls_mod.c index 2f7d626..e185e7b 100644 --- a/modules/tls/tls_mod.c +++ b/modules/tls/tls_mod.c @@ -440,7 +440,7 @@ static int is_peer_verified(struct sip_msg* msg, char* foo, char* foo2) */ x509_cert = SSL_get_peer_certificate(ssl); if ( x509_cert == NULL ) { - LM_WARN("tlsops:is_peer_verified: WARNING: peer did not presented " + LM_INFO("tlsops:is_peer_verified: WARNING: peer did not present " "a certificate. Thus it could not be verified... return -1\n"); tcpconn_put(c); return -1; @@ -450,7 +450,7 @@ static int is_peer_verified(struct sip_msg* msg, char* foo, char* foo2)
tcpconn_put(c);
- LM_DBG("tlsops:is_peer_verified: peer is successfuly verified" + LM_DBG("tlsops:is_peer_verified: peer is successfully verified" "...done\n"); return 1; }