- Issue #3745: Fix hashlib to always reject unicode and non buffer-api
commit6a983ce72ac3d849a7ecdbc499e7f308d8b6c933
authorgregory.p.smith <gregory.p.smith@6015fed2-1504-0410-9fe1-9d1591cc4771>
Fri, 13 Feb 2009 03:00:00 +0000 (13 03:00 +0000)
committergregory.p.smith <gregory.p.smith@6015fed2-1504-0410-9fe1-9d1591cc4771>
Fri, 13 Feb 2009 03:00:00 +0000 (13 03:00 +0000)
tree749503b1fad30ad90e600715deacbc7e9cbdebc7
parent836892f309cde96e19421c725188e0e9a698443a
- Issue #3745: Fix hashlib to always reject unicode and non buffer-api
  supporting objects as input no matter how it was compiled (built in
  implementations or external openssl library).
(backported from a py3k branch)

git-svn-id: http://svn.python.org/projects/python/trunk@69561 6015fed2-1504-0410-9fe1-9d1591cc4771
Lib/test/test_hashlib.py
Misc/NEWS
Modules/_hashopenssl.c
Modules/hashlib.h [new file with mode: 0644]
Modules/md5.c
Modules/md5.h
Modules/md5module.c
Modules/sha256module.c
Modules/sha512module.c
Modules/shamodule.c