http_negotiate: fix CURL_DISABLE_PROXY build

`proxyuserpwd` was removed from `dynamically_allocated_data` in commit
f46385d36d.

Closes https://github.com/curl/curl/pull/13334
This commit is contained in:
Marcel Raad 2024-04-10 10:49:12 +02:00
parent 4f15443d2c
commit 61e6db87ac
No known key found for this signature in database
GPG Key ID: 33C416EFAE4D6F02

View File

@ -184,8 +184,10 @@ CURLcode Curl_output_negotiate(struct Curl_easy *data,
base64);
if(proxy) {
#ifndef CURL_DISABLE_PROXY
Curl_safefree(data->state.aptr.proxyuserpwd);
data->state.aptr.proxyuserpwd = userp;
#endif
}
else {
Curl_safefree(data->state.aptr.userpwd);