gss: fix regression in rc4-hmac krb5 DCE unwrap
4b543b7
introduced a regression in the krb5 mechanism's gss_unwrap for
DCE applications, owing to IS_DCE_STYLE() being called with a krb5
instead of mechanism context handle.
This commit is contained in:
@@ -1199,7 +1199,7 @@ _gssapi_unwrap_iov_arcfour(OM_uint32 *minor_status,
|
||||
|
||||
verify_len = header->buffer.length;
|
||||
|
||||
if (!IS_DCE_STYLE(context)) {
|
||||
if (!IS_DCE_STYLE(ctx)) {
|
||||
for (i = 0; i < iov_count; i++) {
|
||||
/* length in header also includes data and padding */
|
||||
if (GSS_IOV_BUFFER_TYPE(iov[i].type) == GSS_IOV_BUFFER_TYPE_DATA)
|
||||
|
Reference in New Issue
Block a user