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);