From 5fa14d98c0f385cf92d23f568c1722c330f118b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 11 Dec 2008 04:55:25 +0000 Subject: [PATCH] dont use krb5_enctypes_compatible_keys git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24080 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/creds.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/krb5/creds.c b/lib/krb5/creds.c index 087a4850e..4d78333b2 100644 --- a/lib/krb5/creds.c +++ b/lib/krb5/creds.c @@ -235,9 +235,7 @@ krb5_compare_creds(krb5_context context, krb5_flags whichfields, } if (match && (whichfields & KRB5_TC_MATCH_KEYTYPE)) - match = krb5_enctypes_compatible_keys(context, - mcreds->session.keytype, - creds->session.keytype); + match = mcreds->session.keytype == creds->session.keytype; if (match && (whichfields & KRB5_TC_MATCH_FLAGS_EXACT)) match = mcreds->flags.i == creds->flags.i;