add MD4 support
authorJohn Kohl <jtkohl@mit.edu>
Thu, 8 Nov 1990 10:10:45 +0000 (10:10 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Thu, 8 Nov 1990 10:10:45 +0000 (10:10 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1415 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/cryptoconf.c

index 484727418ef7bf5d7b4b7d1746436e22b1768ea7..7c465bafa6e03e087630040fb66899232d5aa2a4 100644 (file)
@@ -27,6 +27,13 @@ static char rcsid_cryptoconf_c[] =
 #define CRC32_CKENTRY 0
 #endif
 
+#ifdef PROVIDE_RSA_MD4
+#include <krb5/rsa-md4.h>
+#define MD4_CKENTRY &rsa_md4_cksumtable_entry
+#else
+#define MD4_CKENTRY 0
+#endif
+
 #ifdef PROVIDE_SNEFRU
 #define XEROX_CKENTRY &snefru_cksumtable_entry
 #else
@@ -78,6 +85,7 @@ krb5_checksum_entry *krb5_cksumarray[] = {
     CRC32_CKENTRY,
     XEROX_CKENTRY,
     DES_CBC_CKENTRY,
+    MD4_CKENTRY,
 };
 
 int krb5_max_cksum = sizeof(krb5_cksumarray)/sizeof(krb5_cksumarray[0]);