From bca1e56525472627b4bfe6691a16a85c5a22c52e Mon Sep 17 00:00:00 2001 From: Chris Provenzano Date: Wed, 6 Sep 1995 03:30:15 +0000 Subject: [PATCH] * md4crypto.c : Replace KEYTYPE_DES_CBC_MD4 for KEYTYPE_DES git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6677 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/md4/ChangeLog | 4 ++++ src/lib/crypto/md4/md4crypto.c | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/lib/crypto/md4/ChangeLog b/src/lib/crypto/md4/ChangeLog index ddabf8381..ccf2991dc 100644 --- a/src/lib/crypto/md4/ChangeLog +++ b/src/lib/crypto/md4/ChangeLog @@ -1,4 +1,8 @@ +Tue Sep 05 22:10:34 1995 Chris Provenzano (proven@mit.edu) + + * md4crypto.c : Replace KEYTYPE_DES_CBC_MD4 for KEYTYPE_DES. + Thu Jul 27 15:22:17 EDT 1995 Paul Park (pjpark@mit.edu) * rsa-md4.h - Don't include k5-config.h. No longer present or needed. diff --git a/src/lib/crypto/md4/md4crypto.c b/src/lib/crypto/md4/md4crypto.c index 248f17683..d5fd0e871 100644 --- a/src/lib/crypto/md4/md4crypto.c +++ b/src/lib/crypto/md4/md4crypto.c @@ -91,7 +91,7 @@ krb5_checksum FAR *outcksum; keyblock.length = seed_length; keyblock.contents = (krb5_octet *)seed; - keyblock.keytype = KEYTYPE_DES; + keyblock.keytype = KEYTYPE_DES_CBC_MD4; if ((retval = mit_des_process_key(&eblock, &keyblock))) return retval; @@ -162,7 +162,7 @@ krb5_checksum FAR *outcksum; keyblock.length = sizeof(mit_des_cblock); keyblock.contents = (krb5_octet *) tmpkey; - keyblock.keytype = KEYTYPE_DES; + keyblock.keytype = KEYTYPE_DES_CBC_MD4; if ((retval = mit_des_process_key(&eblock, &keyblock))) return retval; @@ -229,7 +229,7 @@ size_t seed_length; /* Use the key "as-is" */ keyblock.length = seed_length; keyblock.contents = (krb5_octet *) seed; - keyblock.keytype = KEYTYPE_DES; + keyblock.keytype = KEYTYPE_DES_CBC_MD4; if ((retval = mit_des_process_key(&eblock, &keyblock))) return retval; @@ -272,7 +272,7 @@ size_t seed_length; keyblock.length = sizeof(mit_des_cblock); keyblock.contents = (krb5_octet *) tmpkey; - keyblock.keytype = KEYTYPE_DES; + keyblock.keytype = KEYTYPE_DES_CBC_MD4; if ((retval = mit_des_process_key(&eblock, &keyblock))) return retval; -- 2.26.2