From da5b3b07bbf18d0bccae5cd7312f0cf7e4733d74 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Tue, 9 Oct 2018 17:53:46 -0300 Subject: [PATCH] Incluindo popup quando o certificado SSL é rejeitado por ser auto assinado. --- ssl.c | 7 +++++++ 1 file changed, 7 insertions(+), 0 deletions(-) diff --git a/ssl.c b/ssl.c index db5c8ed..1539344 100644 --- a/ssl.c +++ b/ssl.c @@ -141,6 +141,13 @@ int ssl_negotiate(H3270 *hSession) break; #else lib3270_disconnect(hSession); + lib3270_popup_dialog( hSession, + LIB3270_NOTIFY_ERROR, + _( "SSL error" ), + _( "The SSL certificate for this host is not trusted." ), + _( "The security certificate presented by this host was not issued by a trusted certificate authority." ) + ); + return -1; #endif // ENABLE_SELF_SIGNED_CERT -- libgit2 0.21.2