aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ssl/ssl_mcnf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/ssl_mcnf.c b/ssl/ssl_mcnf.c
index 66416b61cf..b7eb87b6b8 100644
--- a/ssl/ssl_mcnf.c
+++ b/ssl/ssl_mcnf.c
@@ -65,6 +65,8 @@ static int ssl_do_config(SSL *s, SSL_CTX *ctx, const char *name, int system)
libctx = ctx->libctx;
}
conf_diagnostics = OSSL_LIB_CTX_get_conf_diagnostics(libctx);
+ if (conf_diagnostics)
+ flags |= SSL_CONF_FLAG_SHOW_ERRORS;
if (meth->ssl_accept != ssl_undefined_function)
flags |= SSL_CONF_FLAG_SERVER;
if (meth->ssl_connect != ssl_undefined_function)