Commit 691f879eecb0aa7bb064fc9d5fa95e5ed895102b
1 parent
85a9cb31
Exists in
master
and in
3 other branches
Incluindo dump do certificado mesmo quando é auto-assinado
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
... | ... | @@ -126,6 +126,7 @@ int ssl_negotiate(H3270 *hSession) |
126 | 126 | break; |
127 | 127 | |
128 | 128 | case X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN: |
129 | + peer = SSL_get_peer_certificate(hSession->ssl_con); | |
129 | 130 | trace_dsn(hSession,"%s","TLS/SSL negotiated connection complete with self signed certificate in certificate chain\n" ); |
130 | 131 | break; |
131 | 132 | ... | ... |