From ff2b10fd56cf1fdae862b44bb0610e20e08de427 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. --- src/lib3270/ssl.c | 7 +++++++ 1 file changed, 7 insertions(+), 0 deletions(-) diff --git a/src/lib3270/ssl.c b/src/lib3270/ssl.c index db5c8ed..1539344 100644 --- a/src/lib3270/ssl.c +++ b/src/lib3270/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