Commit ff2b10fd56cf1fdae862b44bb0610e20e08de427
1 parent
8489a9ba
Exists in
master
and in
5 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
src/lib3270/ssl.c
| ... | ... | @@ -141,6 +141,13 @@ int ssl_negotiate(H3270 *hSession) |
| 141 | 141 | break; |
| 142 | 142 | #else |
| 143 | 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 | 151 | return -1; |
| 145 | 152 | #endif // ENABLE_SELF_SIGNED_CERT |
| 146 | 153 | ... | ... |