- Patch #360466: Replace the MD5 implementation from RSA Data Security Inc

with the implementation from http://sourceforge.net/projects/libmd5-rfc/.
This commit is contained in:
Matthias Klose 2006-04-03 16:27:50 +00:00
parent db5483be64
commit 8e39ec78bc
7 changed files with 511 additions and 364 deletions

View file

@ -549,8 +549,8 @@ class PyBuildExt(build_ext):
exts.append( Extension('_sha', ['shamodule.c']) )
# The _md5 module implements the RSA Data Security, Inc. MD5
# Message-Digest Algorithm, described in RFC 1321. The
# necessary files md5c.c and md5.h are included here.
exts.append( Extension('_md5', ['md5module.c', 'md5c.c']) )
# necessary files md5.c and md5.h are included here.
exts.append( Extension('_md5', ['md5module.c', 'md5.c']) )
if (openssl_ver < 0x00908000):
# OpenSSL doesn't do these until 0.9.8 so we'll bring our own hash