From 76e7a68ab060b631b784f6f9f18c8ff553f80f96 Mon Sep 17 00:00:00 2001 From: Juliusz Sosinowicz <49391366+julek-wolfssl@users.noreply.github.com> Date: Mon, 22 Jan 2024 17:02:19 +0100 Subject: [PATCH] wolfssl: enable debug logging in wolfSSL when compiled in (#1310) Co-authored-by: Viktor Szakats --- src/openssl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/openssl.c b/src/openssl.c index 60b855da..31220f9c 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -1101,6 +1101,9 @@ void _libssh2_openssl_crypto_init(void) ENGINE_register_all_complete(); #endif #endif +#if defined(LIBSSH2_WOLFSSL) && defined(DEBUG_WOLFSSL) + wolfSSL_Debugging_ON(); +#endif } void _libssh2_openssl_crypto_exit(void)