projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92cdc61
)
fix checksum array to match defines in encryption.h
author
John Kohl
<jtkohl@mit.edu>
Tue, 20 Nov 1990 10:46:03 +0000
(10:46 +0000)
committer
John Kohl
<jtkohl@mit.edu>
Tue, 20 Nov 1990 10:46:03 +0000
(10:46 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1473
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/crypto/cryptoconf.c
patch
|
blob
|
history
diff --git
a/src/lib/crypto/cryptoconf.c
b/src/lib/crypto/cryptoconf.c
index 7c465bafa6e03e087630040fb66899232d5aa2a4..1be3df92792a647c6a1bd041539044a8af6df297 100644
(file)
--- 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]);