Pārlūkot izejas kodu

modules/tls: Fixed log level and diagnostic typo

- Fix by Hugh Waite @ Crocodile RCS Ltd
Peter Dunkley 13 gadi atpakaļ
vecāks
revīzija
3d3b1daf31
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      modules/tls/tls_mod.c

+ 2 - 2
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);
 	x509_cert = SSL_get_peer_certificate(ssl);
 	if ( x509_cert == NULL ) {
 	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");
 			"a certificate. Thus it could not be verified... return -1\n");
 		tcpconn_put(c);
 		tcpconn_put(c);
 		return -1;
 		return -1;
@@ -453,7 +453,7 @@ static int is_peer_verified(struct sip_msg* msg, char* foo, char* foo2)
 
 
 	tcpconn_put(c);
 	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");
 		"...done\n");
 	return 1;
 	return 1;
 }
 }