gss_userok need not check for complete

This commit is contained in:
Luke Howard
2011-03-28 23:56:00 +11:00
parent 4362ebe02a
commit 87e3a85985

View File

@@ -99,7 +99,7 @@ attr_userok(OM_uint32 *minor_status,
if (GSS_ERROR(major_status))
break;
if (authenticated && complete &&
if (authenticated &&
value.length == userLen &&
memcmp(value.value, user, userLen) == 0)
*user_ok = 1;