mirror of
https://github.com/curl/curl.git
synced 2026-06-02 02:44:35 +03:00
auth: we do not support a security layer after kerberos authentication
Closes #7008
This commit is contained in:
parent
3f9b1d0c9d
commit
0a1c85e39b
2 changed files with 2 additions and 0 deletions
|
|
@ -257,6 +257,7 @@ CURLcode Curl_auth_create_gssapi_security_message(struct Curl_easy *data,
|
|||
gss_release_buffer(&unused_status, &username_token);
|
||||
return CURLE_BAD_CONTENT_ENCODING;
|
||||
}
|
||||
sec_layer &= GSSAUTH_P_NONE; /* We do not support a security layer */
|
||||
|
||||
/* Process the maximum message size the server can receive */
|
||||
if(max_size > 0) {
|
||||
|
|
|
|||
|
|
@ -338,6 +338,7 @@ CURLcode Curl_auth_create_gssapi_security_message(struct Curl_easy *data,
|
|||
infof(data, "GSSAPI handshake failure (invalid security layer)");
|
||||
return CURLE_BAD_CONTENT_ENCODING;
|
||||
}
|
||||
sec_layer &= KERB_WRAP_NO_ENCRYPT; /* We do not support a security layer */
|
||||
|
||||
/* Process the maximum message size the server can receive */
|
||||
if(max_size > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue