svn rev #23567: trunk/src/lib/krb5/krb/
ghudson@MIT.EDU
ghudson at MIT.EDU
Fri Jan 1 21:35:40 EST 2010
http://src.mit.edu/fisheye/changelog/krb5/?cs=23567
Commit By: ghudson
Log Message:
Use krb5int_count_etypes in rd_req_decoded_opt.
Changed Files:
U trunk/src/lib/krb5/krb/rd_req_dec.c
Modified: trunk/src/lib/krb5/krb/rd_req_dec.c
===================================================================
--- trunk/src/lib/krb5/krb/rd_req_dec.c 2010-01-02 02:16:23 UTC (rev 23566)
+++ trunk/src/lib/krb5/krb/rd_req_dec.c 2010-01-02 02:35:40 UTC (rev 23567)
@@ -455,10 +455,7 @@
if (retval != 0)
goto cleanup;
}
- for (permitted_etypes_len = 0;
- permitted_etypes[permitted_etypes_len] != ENCTYPE_NULL;
- permitted_etypes_len++)
- ;
+ permitted_etypes_len = krb5int_count_etypes(permitted_etypes);
} else {
permitted_etypes = NULL;
permitted_etypes_len = 0;
More information about the cvs-krb5
mailing list