Commit da5b3b07bbf18d0bccae5cd7312f0cf7e4733d74

Authored by Perry Werneck
1 parent 0e9aa1f1

Incluindo popup quando o certificado SSL é rejeitado por ser auto

assinado.
Showing 1 changed file with 7 additions and 0 deletions   Show diff stats
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  
... ...