From f469d83406181daccc267fd634e54164a25ae238 Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Tue, 25 Feb 2025 15:14:42 +0100 Subject: [PATCH] void sess_reuse_cb without earlydata support --- lib/vtls/openssl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index b836caf00e..e88a19ca51 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -4065,6 +4065,8 @@ CURLcode Curl_ossl_ctx_init(struct ossl_ctx *octx, Curl_alpn_restrict_to(&alpns, scs->alpn); } } +#else + (void)sess_reuse_cb; #endif } SSL_SESSION_free(ssl_session);