mirror of
https://github.com/moparisthebest/curl
synced 2025-01-10 21:48:10 -05:00
spnego_gssapi: fix return code on gss_init_sec_context() failure
Fixes #3726 Closes #3849
This commit is contained in:
parent
067c2c1c04
commit
f65845c1ec
@ -170,7 +170,7 @@ CURLcode Curl_auth_decode_spnego_message(struct Curl_easy *data,
|
||||
Curl_gss_log_error(data, "gss_init_sec_context() failed: ",
|
||||
major_status, minor_status);
|
||||
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
return CURLE_LOGIN_DENIED;
|
||||
}
|
||||
|
||||
if(!output_token.value || !output_token.length) {
|
||||
|
Loading…
Reference in New Issue
Block a user