krb5_gss_inquire_cred_by_mech: check for all mech types known by this
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10944
dc483132-0cff-0310-8789-
dd5450dbe970
* We only know how to handle our own creds.
*/
if ((mech_type != GSS_C_NULL_OID) &&
- !g_OID_equal(gss_mech_krb5, mech_type)) {
+ !g_OID_equal(gss_mech_krb5_old, mech_type) &&
+ !g_OID_equal(gss_mech_krb5, mech_type) &&
+ !g_OID_equal(gss_mech_krb5_v2, mech_type)) {
*minor_status = 0;
return(GSS_S_NO_CRED);
}