diff options
Diffstat (limited to 'ssl.c')
-rw-r--r-- | ssl.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -3465,6 +3465,11 @@ key_method_2_read (struct buffer *buf, struct tls_multi *multi, struct tls_sessi !options_cmp_equal (options, session->opt->remote_options)) { options_warning (options, session->opt->remote_options); + if (session->opt->ssl_flags & SSLF_OPT_VERIFY) + { + msg (D_TLS_ERRORS, "Option inconsistency warnings triggering disconnect due to --opt-verify"); + ks->authenticated = false; + } } #endif |