recognized enctypes are found in the config file.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11949
dc483132-0cff-0310-8789-
dd5450dbe970
+1999-12-02 Ken Raeburn <raeburn@mit.edu>
+
+ * init_ctx.c (get_profile_etype_list): Report an error if no
+ recognized enctypes are found in the config file.
+
1999-11-23 Ken Raeburn <raeburn@mit.edu>
* init_ctx.c (init_common): Renamed from krb5_init_context, now
profile_release_string(retval);
}
+ if (old_ktypes[0] == 0) {
+ free (old_ktypes);
+ *ktypes = 0;
+ return KRB5_CONFIG_ETYPE_NOSUPP;
+ }
+
*ktypes = old_ktypes;
return 0;
}