openbsd-ports/security/py-crypto/patches/patch-lib_Crypto_Hash___init___py
jasper 13607ba6bc - security update of py-crypto to 2.6
Fixes  CVE-2012-2417, PyCrypto <= 2.5 insecure ElGamal key generation.

ok mpi@ (MAINTAINER)
2012-05-25 12:13:01 +00:00

22 lines
832 B
Plaintext

$OpenBSD: patch-lib_Crypto_Hash___init___py,v 1.5 2012/05/25 12:13:01 jasper Exp $
(Patch with reduced context as otherwise $Id: patch-lib_Crypto_Hash___init___py,v 1.5 2012/05/25 12:13:01 jasper Exp $ would get expanded.)
*** lib/Crypto/Hash/__init__.py.orig Thu May 24 14:55:30 2012
--- lib/Crypto/Hash/__init__.py Fri May 25 14:09:50 2012
*************** The hashing modules here all support the interface des
*** 48,53 ****
! :undocumented: _MD2, _MD4, _RIPEMD160, _SHA224, _SHA256, _SHA384, _SHA512
"""
! __all__ = ['HMAC', 'MD2', 'MD4', 'MD5', 'RIPEMD', 'SHA',
'SHA224', 'SHA256', 'SHA384', 'SHA512']
--- 48,53 ----
! :undocumented: _MD4, _RIPEMD160, _SHA224, _SHA256, _SHA384, _SHA512
"""
! __all__ = ['HMAC', 'MD4', 'MD5', 'RIPEMD', 'SHA',
'SHA224', 'SHA256', 'SHA384', 'SHA512']