From 691f879eecb0aa7bb064fc9d5fa95e5ed895102b Mon Sep 17 00:00:00 2001 From: perry.werneck@gmail.com Date: Tue, 24 Mar 2015 10:58:15 +0000 Subject: [PATCH] Incluindo dump do certificado mesmo quando é auto-assinado --- ssl.c | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/ssl.c b/ssl.c index 7409ab2..6bb280b 100644 --- a/ssl.c +++ b/ssl.c @@ -126,6 +126,7 @@ int ssl_negotiate(H3270 *hSession) break; case X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN: + peer = SSL_get_peer_certificate(hSession->ssl_con); trace_dsn(hSession,"%s","TLS/SSL negotiated connection complete with self signed certificate in certificate chain\n" ); break; -- libgit2 0.21.2