From: Ezra Peisach Date: Mon, 23 Dec 2002 18:12:29 +0000 (+0000) Subject: * setup_mkey.c (krb5_db_setup_mkey_name): Use size_t instead of X-Git-Tag: krb5-1.3-alpha1~205 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ff254ba38bb9b84e08e7dd625de05cfb74cb086a;p=krb5.git * setup_mkey.c (krb5_db_setup_mkey_name): Use size_t instead of int for lengths. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15069 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/kdb/ChangeLog b/src/lib/kdb/ChangeLog index 0211a55b3..00f30dd92 100644 --- a/src/lib/kdb/ChangeLog +++ b/src/lib/kdb/ChangeLog @@ -1,3 +1,8 @@ +2002-12-23 Ezra Peisach + + * setup_mkey.c (krb5_db_setup_mkey_name): Use size_t instead of + int for lengths. + 2002-12-18 Ken Raeburn * Makefile.in (check): Remove test_db before running tests. diff --git a/src/lib/kdb/setup_mkey.c b/src/lib/kdb/setup_mkey.c index 1788ecdd8..61f1ef3e6 100644 --- a/src/lib/kdb/setup_mkey.c +++ b/src/lib/kdb/setup_mkey.c @@ -47,8 +47,8 @@ krb5_db_setup_mkey_name(context, keyname, realm, fullname, principal) krb5_principal *principal; { krb5_error_code retval; - int keylen; - int rlen = strlen(realm); + size_t keylen; + size_t rlen = strlen(realm); char *fname; if (!keyname)