From f3b7e53e5daabe721d41b8021868510ed4856859 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 17 Nov 2006 20:21:59 +0000 Subject: [PATCH] use krb5_c_valid_enctype, not valid_enctype git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18839 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/preauth2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/krb5/krb/preauth2.c b/src/lib/krb5/krb/preauth2.c index c7c083fe3..6530ea907 100644 --- a/src/lib/krb5/krb/preauth2.c +++ b/src/lib/krb5/krb/preauth2.c @@ -974,7 +974,7 @@ krb5_error_code pa_sam_2(krb5_context context, return(KRB5_SAM_UNSUPPORTED); } - if (!valid_enctype(sc2b->sam_etype)) { + if (!krb5_c_valid_enctype(sc2b->sam_etype)) { krb5_free_sam_challenge_2(context, sc2); krb5_free_sam_challenge_2_body(context, sc2b); return(KRB5_SAM_INVALID_ETYPE); @@ -1450,7 +1450,7 @@ krb5_do_preauth(krb5_context context, /* check if program has support for this etype for more * precise error reporting. */ - if (valid_enctype(etype_info[l]->etype)) + if (krb5_c_valid_enctype(etype_info[l]->etype)) valid_etype_found++; } } -- 2.26.2