use krb5_c_valid_enctype, not valid_enctype
authorKen Raeburn <raeburn@mit.edu>
Fri, 17 Nov 2006 20:21:59 +0000 (20:21 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 17 Nov 2006 20:21:59 +0000 (20:21 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18839 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/preauth2.c

index c7c083fe3ba8316c100f9c0ca801a38f15ff4e19..6530ea90789e35a591f024d60bd14663320b75c4 100644 (file)
@@ -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++;
                    }
                }