diff options
author | Marc Horowitz <marc@mit.edu> | 1998-09-28 06:54:47 +0000 |
---|---|---|
committer | Marc Horowitz <marc@mit.edu> | 1998-09-28 06:54:47 +0000 |
commit | 691ff30f199d47ecf4d928ac23dad51abac960dd (patch) | |
tree | d4213f55db2d87739952f74291ade733e5660dff | |
parent | dad9245d9d64c32a7b04cd9c80cb87f19e8cd5a5 (diff) | |
download | krb5-691ff30f199d47ecf4d928ac23dad51abac960dd.zip krb5-691ff30f199d47ecf4d928ac23dad51abac960dd.tar.gz krb5-691ff30f199d47ecf4d928ac23dad51abac960dd.tar.bz2 |
implementation
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
-rw-r--r-- | src/lib/gssapi/krb5/inq_cred.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/gssapi/krb5/inq_cred.c b/src/lib/gssapi/krb5/inq_cred.c index e1963c4..7d8a2db 100644 --- a/src/lib/gssapi/krb5/inq_cred.c +++ b/src/lib/gssapi/krb5/inq_cred.c @@ -154,7 +154,9 @@ krb5_gss_inquire_cred_by_mech(minor_status, cred_handle, * 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); } |