From 6233ad8aaaad2efecbeaa898c940d142154cd808 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 25 Feb 2025 15:56:31 +0100 Subject: [PATCH] schannel.c: disable code section due to compiler warning (temp) --- lib/vtls/schannel.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/vtls/schannel.c b/lib/vtls/schannel.c index 8c6fa06982..69654e5a76 100644 --- a/lib/vtls/schannel.c +++ b/lib/vtls/schannel.c @@ -898,7 +898,9 @@ schannel_connect_step1(struct Curl_cfilter *cf, struct Curl_easy *data) unsigned char alpn_buffer[128]; #endif SECURITY_STATUS sspi_status = SEC_E_OK; +#if 0 /* TEMP */ struct Curl_schannel_cred *old_cred = NULL; +#endif CURLcode result; DEBUGASSERT(backend); @@ -953,6 +955,7 @@ schannel_connect_step1(struct Curl_cfilter *cf, struct Curl_easy *data) backend->cred = NULL; +#if 0 /* TEMP */ /* check for an existing reusable credential handle */ if(ssl_config->primary.cache_session) { Curl_ssl_scache_lock(data); @@ -969,6 +972,7 @@ schannel_connect_step1(struct Curl_cfilter *cf, struct Curl_easy *data) } Curl_ssl_scache_unlock(data); } +#endif if(!backend->cred) { char *snihost;