Browse code

modules/tls: Fixed log level and diagnostic typo

- Fix by Hugh Waite @ Crocodile RCS Ltd

Peter Dunkley authored on 12/06/2012 01:01:10
Showing 1 changed files
... ...
@@ -443,7 +443,7 @@ static int is_peer_verified(struct sip_msg* msg, char* foo, char* foo2)
443 443
 	 */
444 444
 	x509_cert = SSL_get_peer_certificate(ssl);
445 445
 	if ( x509_cert == NULL ) {
446
-		LM_WARN("tlsops:is_peer_verified: WARNING: peer did not presented "
446
+		LM_INFO("tlsops:is_peer_verified: WARNING: peer did not present "
447 447
 			"a certificate. Thus it could not be verified... return -1\n");
448 448
 		tcpconn_put(c);
449 449
 		return -1;
... ...
@@ -453,7 +453,7 @@ static int is_peer_verified(struct sip_msg* msg, char* foo, char* foo2)
453 453
 
454 454
 	tcpconn_put(c);
455 455
 
456
-	LM_DBG("tlsops:is_peer_verified: peer is successfuly verified"
456
+	LM_DBG("tlsops:is_peer_verified: peer is successfully verified"
457 457
 		"...done\n");
458 458
 	return 1;
459 459
 }