From a071e36ff65b58d0084cdffe7619a78311de4847 Mon Sep 17 00:00:00 2001 From: Lain Iwakura Date: Tue, 30 Dec 2025 01:01:06 +0300 Subject: fix(ssl): fix ssl fully --- tls_compat.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tls_compat.c b/tls_compat.c index 3a0242d..dfddc4b 100644 --- a/tls_compat.c +++ b/tls_compat.c @@ -233,6 +233,9 @@ tls_verify_hostname(tls_t ctx, const char *hostname) if (global_tls_config == NULL || global_tls_config->noverifyname) return 0; + if (global_tls_config->noverifycert) + return 0; + verify_result = SSL_get_verify_result(ctx->ssl); if (verify_result != X509_V_OK) return -1; -- cgit 1.4.1