From 116377991a08a82eb23f094e596b31134a81a561 Mon Sep 17 00:00:00 2001 From: John Carr Date: Wed, 25 Mar 1992 06:32:26 +0000 Subject: [PATCH] Add md5 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2256 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/cryptoconf.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/lib/crypto/cryptoconf.c b/src/lib/crypto/cryptoconf.c index defb70477..90a7d4090 100644 --- a/src/lib/crypto/cryptoconf.c +++ b/src/lib/crypto/cryptoconf.c @@ -50,6 +50,15 @@ static char rcsid_cryptoconf_c[] = #define MD4_DES_CKENTRY 0 #endif +#ifdef PROVIDE_RSA_MD5 +#include +#define MD5_CKENTRY &rsa_md5_cksumtable_entry +#define MD5_DES_CKENTRY &rsa_md5_des_cksumtable_entry +#else +#define MD5_CKENTRY 0 +#define MD5_DES_CKENTRY 0 +#endif + #ifdef PROVIDE_SNEFRU #define XEROX_CKENTRY &snefru_cksumtable_entry #else @@ -111,6 +120,10 @@ krb5_checksum_entry *krb5_cksumarray[] = { MD4_CKENTRY, MD4_DES_CKENTRY, DES_CBC_CKENTRY, + 0, + 0, + MD5_CKENTRY, + MD5_DES_CKENTRY }; int krb5_max_cksum = sizeof(krb5_cksumarray)/sizeof(krb5_cksumarray[0]); -- 2.26.2