gss_userok need not check for complete
This commit is contained in:
@@ -99,7 +99,7 @@ attr_userok(OM_uint32 *minor_status,
|
|||||||
if (GSS_ERROR(major_status))
|
if (GSS_ERROR(major_status))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if (authenticated && complete &&
|
if (authenticated &&
|
||||||
value.length == userLen &&
|
value.length == userLen &&
|
||||||
memcmp(value.value, user, userLen) == 0)
|
memcmp(value.value, user, userLen) == 0)
|
||||||
*user_ok = 1;
|
*user_ok = 1;
|
||||||
|
Reference in New Issue
Block a user