From 1200f118371b0a8ca9f8313be34987e7f8ff83cc Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Fri, 10 May 1996 07:26:30 +0000 Subject: [PATCH] removed des3-md5 support (replaced with des3-sha) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7973 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/md5/ChangeLog | 4 ++++ src/lib/crypto/md5/md5crypto.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/lib/crypto/md5/ChangeLog b/src/lib/crypto/md5/ChangeLog index 86c6873da..d29d4eee1 100644 --- a/src/lib/crypto/md5/ChangeLog +++ b/src/lib/crypto/md5/ChangeLog @@ -1,3 +1,7 @@ +Fri May 10 01:19:18 1996 Richard Basch + + * md5crypto.c: des3-md5 is being replaced with des3-sha + Fri Apr 12 21:27:35 1996 Richard Basch * rsa-md5.h md5crypto.c md5glue.c md5.c t_cksum.c t_mddriver.c: diff --git a/src/lib/crypto/md5/md5crypto.c b/src/lib/crypto/md5/md5crypto.c index b82b5894e..5d91b944e 100644 --- a/src/lib/crypto/md5/md5crypto.c +++ b/src/lib/crypto/md5/md5crypto.c @@ -283,6 +283,7 @@ size_t seed_length; else retval = KRB5KRB_AP_ERR_BAD_INTEGRITY; } +#if CKSUMTYPE_RSA_MD5_DES3 else if (cksum->checksum_type == CKSUMTYPE_RSA_MD5_DES3) { if (cksum->length == (RSA_MD5_DES_CKSUM_LENGTH + RSA_MD5_DES_CONFOUND_LENGTH)) { @@ -340,6 +341,7 @@ size_t seed_length; else retval = KRB5KRB_AP_ERR_BAD_INTEGRITY; } +#endif /* CKSUMTYPE_RSA_MD5_DES3 */ else retval = KRB5KRB_AP_ERR_INAPP_CKSUM; -- 2.26.2