auth: we do not support a security layer after kerberos authentication
Closes #7008
This commit is contained in:
parent
3f9b1d0c9d
commit
0a1c85e39b
@ -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…
Reference in New Issue
Block a user