]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
socks_sspi: remove the enforced mode clearing
authorDaniel Stenberg <daniel@haxx.se>
Mon, 13 Oct 2025 07:24:57 +0000 (09:24 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 13 Oct 2025 08:41:42 +0000 (10:41 +0200)
Reported-by: Joshua Rogers
Closes #19040

lib/socks_sspi.c

index 69b000421944319b327afeacdae6cd85f126d825..54049e8c99284a37971193132a62cea63124e0b9 100644 (file)
@@ -325,8 +325,7 @@ CURLcode Curl_SOCKS5_gssapi_negotiate(struct Curl_cfilter *cf,
   infof(data, "SOCKS5 server supports GSS-API %s data protection.",
         (gss_enc == 0) ? "no" :
         ((gss_enc == 1) ? "integrity":"confidentiality") );
-  /* force to no data protection, avoid encryption/decryption for now */
-  gss_enc = 0;
+
   /*
    * Sending the encryption type in clear seems wrong. It should be
    * protected with gss_seal()/gss_wrap(). See RFC1961 extract below