Change in_tkt_ktype_count, tgs_ktype_count and conf_tgs_ktypes_count in context to
unsigned int. Change get_profile_etype_list() to expect unsigned int as well.
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17947
dc483132-0cff-0310-8789-
dd5450dbe970
struct _krb5_context {
krb5_magic magic;
krb5_enctype *in_tkt_ktypes;
struct _krb5_context {
krb5_magic magic;
krb5_enctype *in_tkt_ktypes;
- int in_tkt_ktype_count;
+ unsigned int in_tkt_ktype_count;
krb5_enctype *tgs_ktypes;
krb5_enctype *tgs_ktypes;
+ unsigned int tgs_ktype_count;
/* This used to be a void*, but since we always allocate them
together (though in different source files), and the types
are declared in the same header, might as well just combine
/* This used to be a void*, but since we always allocate them
together (though in different source files), and the types
are declared in the same header, might as well just combine
requested ticket (the session key of which may be
constrained by tgs_ktypes above). */
krb5_enctype *conf_tgs_ktypes;
requested ticket (the session key of which may be
constrained by tgs_ktypes above). */
krb5_enctype *conf_tgs_ktypes;
- int conf_tgs_ktypes_count;
+ unsigned int conf_tgs_ktypes_count;
/* Use the _configured version? */
krb5_boolean use_conf_ktypes;
/* Use the _configured version? */
krb5_boolean use_conf_ktypes;
static krb5_error_code
get_profile_etype_list(krb5_context context, krb5_enctype **ktypes, char *profstr,
static krb5_error_code
get_profile_etype_list(krb5_context context, krb5_enctype **ktypes, char *profstr,
- int ctx_count, krb5_enctype *ctx_list)
+ unsigned int ctx_count, krb5_enctype *ctx_list)
{
krb5_enctype *old_ktypes;
{
krb5_enctype *old_ktypes;