svn rev #23597: trunk/src/lib/kdb/
ghudson@MIT.EDU
ghudson at MIT.EDU
Wed Jan 6 18:14:14 EST 2010
http://src.mit.edu/fisheye/changelog/krb5/?cs=23597
Commit By: ghudson
Log Message:
ticket: 6622
target_version: 1.8
tags: pullup
Don't return KRB5_KDB_NO_PERMITTED_KEY from
krb5_dbe_def_search_enctype if we previously returned results (i.e. if
*start > 0).
Changed Files:
U trunk/src/lib/kdb/kdb_default.c
Modified: trunk/src/lib/kdb/kdb_default.c
===================================================================
--- trunk/src/lib/kdb/kdb_default.c 2010-01-06 23:11:52 UTC (rev 23596)
+++ trunk/src/lib/kdb/kdb_default.c 2010-01-06 23:14:14 UTC (rev 23597)
@@ -93,7 +93,8 @@
*/
if (!krb5_is_permitted_enctype(kcontext,
dbentp->key_data[i].key_data_type[0])) {
- ret = KRB5_KDB_NO_PERMITTED_KEY;
+ if (*start == 0)
+ ret = KRB5_KDB_NO_PERMITTED_KEY;
continue;
}
More information about the cvs-krb5
mailing list