mirror of
https://github.com/curl/curl.git
synced 2026-08-02 17:30:29 +03:00
socks_sspi: store socks5_gssapi_enctype
Store the unwrapped protection level in `conn->socks5_gssapi_enctype` to prevent the proxy from contuning unprotected. Matches the GSSAPI version of the code. Reported-by: Trail of Bits Closes #22004
This commit is contained in:
parent
c4cb67692d
commit
5bff1c35f1
1 changed files with 1 additions and 0 deletions
|
|
@ -462,6 +462,7 @@ static CURLcode socks5_sspi_encrypt(struct Curl_cfilter *cf,
|
|||
((socksreq[0] == 1) ? " GSS-API integrity" :
|
||||
" GSS-API confidentiality"));
|
||||
|
||||
cf->conn->socks5_gssapi_enctype = socksreq[0];
|
||||
return CURLE_OK;
|
||||
|
||||
fail:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue