Commit 2a8f346ff5b19b381b3e56f336541310a9360ddb
1 parent
1e3a0d8a
Exists in
master
and in
2 other branches
Adjusting ssl messsage.
Showing
1 changed file
with
6 additions
and
0 deletions
Show diff stats
src/network_modules/openssl/messages.c
... | ... | @@ -226,9 +226,15 @@ const LIB3270_SSL_MESSAGE * lib3270_openssl_message_from_id(long id) { |
226 | 226 | { |
227 | 227 | .id = X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT, |
228 | 228 | .message = { |
229 | +#ifdef SSL_ENABLE_SELF_SIGNED_CERT_CHECK | |
230 | + .type = LIB3270_NOTIFY_SECURE, | |
231 | +#else | |
229 | 232 | .type = LIB3270_NOTIFY_WARNING, |
233 | +#endif // SSL_ENABLE_SELF_SIGNED_CERT_CHECK | |
230 | 234 | .icon = "security-medium", |
231 | 235 | .summary = N_( "Self signed certificate" ), |
236 | + .name = "X509DepthZeroSelfSignedCert", | |
237 | + .label = N_( "Continue" ), | |
232 | 238 | .body = N_( "The passed certificate is self signed and the same certificate cannot be found in the list of trusted certificates." ) |
233 | 239 | } |
234 | 240 | }, | ... | ... |