diff options
author | Theodore Tso <tytso@mit.edu> | 1995-10-06 04:47:55 +0000 |
---|---|---|
committer | Theodore Tso <tytso@mit.edu> | 1995-10-06 04:47:55 +0000 |
commit | 39a3273c834fb1172f2a3cbf68227bda42081c39 (patch) | |
tree | a31124e7e2bf4ca2690e55fc2e7edb8ed82eb3b7 /src/lib/crypto | |
parent | 144b2ee0ba99ea0e36a26b5acfc4b616bc0e0377 (diff) | |
download | krb5-39a3273c834fb1172f2a3cbf68227bda42081c39.tar.gz krb5-39a3273c834fb1172f2a3cbf68227bda42081c39.tar.xz krb5-39a3273c834fb1172f2a3cbf68227bda42081c39.zip |
Change types of krb5_max_enctype and krb5_max_cksumtype to be
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
Diffstat (limited to 'src/lib/crypto')
-rw-r--r-- | src/lib/crypto/ChangeLog | 6 | ||||
-rw-r--r-- | src/lib/crypto/cryptoconf.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/crypto/ChangeLog b/src/lib/crypto/ChangeLog index 5cc9763895..c426a6033d 100644 --- a/src/lib/crypto/ChangeLog +++ b/src/lib/crypto/ChangeLog @@ -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 diff --git a/src/lib/crypto/cryptoconf.c b/src/lib/crypto/cryptoconf.c index 53747efa90..df71493f31 100644 --- a/src/lib/crypto/cryptoconf.c +++ b/src/lib/crypto/cryptoconf.c @@ -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__ |