Added 3-DES MD5 checksum mode
authorRichard Basch <probe@mit.edu>
Tue, 28 Nov 1995 01:17:10 +0000 (01:17 +0000)
committerRichard Basch <probe@mit.edu>
Tue, 28 Nov 1995 01:17:10 +0000 (01:17 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7132 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/cryptoconf.c

index df71493f31cc9a7496eb91f48e2a4095898a572a..43afce8841e342d58688b8fe92104cbc30c7dcf2 100644 (file)
 #define RAW_DES_CBC_CSENTRY 0
 #endif
 
+#ifdef PROVIDE_DES3_CBC_MD5
+#ifndef _DES_DONE__
+#include "des_int.h"
+#define _DES_DONE__
+#endif
+#define DES3_CBC_MD5_CSENTRY &krb5_des3_md5_cst_entry
+#else
+#define DES3_CBC_MD5_CSENTRY 0
+#endif
+
 
 /* WARNING:
    make sure the order of entries in these tables matches the #defines in
@@ -107,6 +117,7 @@ krb5_cs_table_entry * NEAR krb5_enctype_array[] = {
     0,                         /* ENCTYPE_DES_CBC_MD4 */
     DES_CBC_MD5_CSENTRY,       /* ENCTYPE_DES_CBC_MD5 */
     RAW_DES_CBC_CSENTRY,       /* ETYPE_RAW_DES_CBC */
+    DES3_CBC_MD5_CSENTRY,      /* ENCTYPE_DES3_CBC_MD5 */
 };
 
 krb5_enctype krb5_max_enctype = sizeof(krb5_enctype_array)/sizeof(krb5_enctype_array[0]) - 1;