Define MD5_K5BETA_COMPAT and MD5_K5BETA_COMP_DEF so that we continue
authorTheodore Tso <tytso@mit.edu>
Sat, 18 May 1996 05:55:59 +0000 (05:55 +0000)
committerTheodore Tso <tytso@mit.edu>
Sat, 18 May 1996 05:55:59 +0000 (05:55 +0000)
commit576408fe5966789a74569e305c142a9a2d91282d
tree7da7bfb8e5b74523d68d3c2fa3800fcf61b765f4
parent1374510e8c09ef292bb4dc20a25ec24ed15ee096
Define MD5_K5BETA_COMPAT and MD5_K5BETA_COMP_DEF so that we continue
doing things the wrong (broken) way.  All hail backwards
compatibility....  The code now generates the old checksum, but it
will verify both the old and the correct checksum formats.

Also fixed two bugs in the "correct" MD5_CRYPTO implementation; use a
zero initialization vector, and calculate the confounder at the
beginning of the message, not at the end.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8044 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/crypto/md5/ChangeLog
src/lib/crypto/md5/configure.in
src/lib/crypto/md5/md5crypto.c