summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto/cryptoconf.c
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1990-11-20 10:46:03 +0000
committerJohn Kohl <jtkohl@mit.edu>1990-11-20 10:46:03 +0000
commit1da4811d005c33a34931e1dc20211acdb6e4ee0d (patch)
tree577e70e48636a2e2e0f7e814f0dd5c7db428961b /src/lib/crypto/cryptoconf.c
parent92cdc61a66466dca43168dfed4e23d122bc95eea (diff)
downloadkrb5-1da4811d005c33a34931e1dc20211acdb6e4ee0d.tar.gz
krb5-1da4811d005c33a34931e1dc20211acdb6e4ee0d.tar.xz
krb5-1da4811d005c33a34931e1dc20211acdb6e4ee0d.zip
fix checksum array to match defines in encryption.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1473 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/crypto/cryptoconf.c')
-rw-r--r--src/lib/crypto/cryptoconf.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/crypto/cryptoconf.c b/src/lib/crypto/cryptoconf.c
index 7c465bafa6..1be3df9279 100644
--- a/src/lib/crypto/cryptoconf.c
+++ b/src/lib/crypto/cryptoconf.c
@@ -64,6 +64,11 @@ static krb5_cs_table_entry lucifer_crc_csentry = {
#define LUCIFER_CRC_CSENTRY 0
#endif
+/* WARNING:
+ make sure the order of entries in these tables matches the #defines in
+ <krb5/encryption.h>
+ */
+
krb5_cs_table_entry *krb5_csarray[] = {
0,
DES_CBC_CRC_CSENTRY,
@@ -83,9 +88,9 @@ int krb5_max_keytype = sizeof(krb5_keytype_array)/sizeof(krb5_keytype_array[0])
krb5_checksum_entry *krb5_cksumarray[] = {
0,
CRC32_CKENTRY,
+ MD4_CKENTRY,
XEROX_CKENTRY,
DES_CBC_CKENTRY,
- MD4_CKENTRY,
};
int krb5_max_cksum = sizeof(krb5_cksumarray)/sizeof(krb5_cksumarray[0]);