Commit da5b3b07bbf18d0bccae5cd7312f0cf7e4733d74
1 parent
0e9aa1f1
Exists in
master
and in
3 other branches
Incluindo popup quando o certificado SSL é rejeitado por ser auto
assinado.
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
@@ -141,6 +141,13 @@ int ssl_negotiate(H3270 *hSession) | @@ -141,6 +141,13 @@ int ssl_negotiate(H3270 *hSession) | ||
141 | break; | 141 | break; |
142 | #else | 142 | #else |
143 | lib3270_disconnect(hSession); | 143 | lib3270_disconnect(hSession); |
144 | + lib3270_popup_dialog( hSession, | ||
145 | + LIB3270_NOTIFY_ERROR, | ||
146 | + _( "SSL error" ), | ||
147 | + _( "The SSL certificate for this host is not trusted." ), | ||
148 | + _( "The security certificate presented by this host was not issued by a trusted certificate authority." ) | ||
149 | + ); | ||
150 | + | ||
144 | return -1; | 151 | return -1; |
145 | #endif // ENABLE_SELF_SIGNED_CERT | 152 | #endif // ENABLE_SELF_SIGNED_CERT |
146 | 153 |