From 1da4811d005c33a34931e1dc20211acdb6e4ee0d Mon Sep 17 00:00:00 2001 From: John Kohl Date: Tue, 20 Nov 1990 10:46:03 +0000 Subject: [PATCH] fix checksum array to match defines in encryption.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1473 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/cryptoconf.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/crypto/cryptoconf.c b/src/lib/crypto/cryptoconf.c index 7c465bafa..1be3df927 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_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]); -- 2.26.2