[sr-dev] git:master: modules/tls: Fixed log level and diagnostic typo

Peter Dunkley peter.dunkley at crocodile-rcs.com
Tue Jun 12 03:01:47 CEST 2012


Module: sip-router
Branch: master
Commit: 3d3b1daf319fe87b880671cd5de9a2a6ace6c64b
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3d3b1daf319fe87b880671cd5de9a2a6ace6c64b

Author: Peter Dunkley <peter.dunkley at crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley at 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

---

 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 e0c05d8..a6cd958 100644
--- a/modules/tls/tls_mod.c
+++ b/modules/tls/tls_mod.c
@@ -443,7 +443,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;
@@ -453,7 +453,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;
 }




More information about the sr-dev mailing list