mirror of
https://github.com/curl/curl.git
synced 2026-06-24 09:25:39 +03: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue