Commit f9b10b73070e5e826aa43f56001b2576c371dd99

Authored by perry.werneck@gmail.com
1 parent 665d24a6

Incluindo dump do certificado mesmo quando é auto-assinado

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
src/lib3270/ssl.c
@@ -126,6 +126,7 @@ int ssl_negotiate(H3270 *hSession) @@ -126,6 +126,7 @@ int ssl_negotiate(H3270 *hSession)
126 break; 126 break;
127 127
128 case X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN: 128 case X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN:
  129 + peer = SSL_get_peer_certificate(hSession->ssl_con);
129 trace_dsn(hSession,"%s","TLS/SSL negotiated connection complete with self signed certificate in certificate chain\n" ); 130 trace_dsn(hSession,"%s","TLS/SSL negotiated connection complete with self signed certificate in certificate chain\n" );
130 break; 131 break;
131 132