Change types of krb5_max_enctype and krb5_max_cksumtype to be
authorTheodore Tso <tytso@mit.edu>
Fri, 6 Oct 1995 04:47:55 +0000 (04:47 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 6 Oct 1995 04:47:55 +0000 (04:47 +0000)
krb5_enctype and krb5_cksumtype, to fix some gcc -Wall flames.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6940 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/ChangeLog
src/lib/crypto/cryptoconf.c

index 5cc9763895ce26ac2e9a0d74d7992538ea0e362f..c426a6033d64e28f48b332ef6e0f8404a3e47686 100644 (file)
@@ -1,3 +1,9 @@
+Thu Oct  5 21:32:33 1995  Theodore Y. Ts'o  <tytso@dcl>
+
+       * cryptoconf.c: Change types of krb5_max_enctype and
+               krb5_max_cksumtype to be krb5_enctype and krb5_cksumtype,
+               to fix some gcc -Wall flames.
+
 Mon Oct  2 10:34:12 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
 
        * configure.in (V5_MAKE_SHARED_LIB): Change for version 0.1 of
index 53747efa90e9e061f47dafd4c3772943e4316b8d..df71493f31cc9a7496eb91f48e2a4095898a572a 100644 (file)
@@ -109,7 +109,7 @@ krb5_cs_table_entry * NEAR krb5_enctype_array[] = {
     RAW_DES_CBC_CSENTRY,       /* ETYPE_RAW_DES_CBC */
 };
 
-int krb5_max_enctype = sizeof(krb5_enctype_array)/sizeof(krb5_enctype_array[0]) - 1;
+krb5_enctype krb5_max_enctype = sizeof(krb5_enctype_array)/sizeof(krb5_enctype_array[0]) - 1;
 
 krb5_checksum_entry * NEAR krb5_cksumarray[] = {
     0,
@@ -123,6 +123,6 @@ krb5_checksum_entry * NEAR krb5_cksumarray[] = {
     MD5_DES_CKENTRY            /* CKSUMTYPE_RSA_MD5_DES */
 };
 
-int krb5_max_cksum = sizeof(krb5_cksumarray)/sizeof(krb5_cksumarray[0]);
+krb5_cksumtype krb5_max_cksum = sizeof(krb5_cksumarray)/sizeof(krb5_cksumarray[0]);
 
 #undef _DES_DONE__