From cd6370b9c7bfcd0c53171cf5bef0b8c88e754938 Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Tue, 28 Nov 1995 01:12:41 +0000 Subject: [PATCH] Triple DES shares the same random key initialization routine git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7129 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/des/init_rkey.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/crypto/des/init_rkey.c b/src/lib/crypto/des/init_rkey.c index ca9483a5c..dce9d85ee 100644 --- a/src/lib/crypto/des/init_rkey.c +++ b/src/lib/crypto/des/init_rkey.c @@ -41,6 +41,7 @@ mit_des_init_random_key (seedblock, seed) if ((seedblock->enctype != ENCTYPE_DES_CBC_CRC) && (seedblock->enctype != ENCTYPE_DES_CBC_MD4) && (seedblock->enctype != ENCTYPE_DES_CBC_MD5) && + (seedblock->enctype != ENCTYPE_DES3_CBC_MD5) && (seedblock->enctype != ENCTYPE_DES_CBC_RAW)) return KRB5_BAD_ENCTYPE; if ( !(p_seed = (mit_des_random_key_seed *) -- 2.26.2