openbsd-ports/security/py-crypto/patches/patch-lib_Crypto_Hash___init___py
2012-02-17 09:32:18 +00:00

20 lines
769 B
Plaintext

$OpenBSD: patch-lib_Crypto_Hash___init___py,v 1.4 2012/02/17 09:32:18 mpi Exp $
--- lib/Crypto/Hash/__init__.py.orig Fri Jan 13 15:57:33 2012
+++ lib/Crypto/Hash/__init__.py Wed Feb 8 17:27:41 2012
@@ -34,8 +34,6 @@ Submodules:
Crypto.Hash.HMAC
RFC 2104. Keyed-Hashing for Message Authentication.
-Crypto.Hash.MD2
- RFC1319. Rivest's Message Digest algorithm, with a 128 bit digest. This algorithm is both slow and insecure.
Crypto.Hash.MD4
RFC1320. Rivest's Message Digest algorithm, with a 128 bit digest. This algorithm is insecure.
Crypto.Hash.MD5
@@ -55,7 +53,7 @@ Crypto.Hash.SHA512
"""
-__all__ = ['HMAC', 'MD2', 'MD4', 'MD5', 'RIPEMD', 'SHA',
+__all__ = ['HMAC', 'MD4', 'MD5', 'RIPEMD', 'SHA',
'SHA224', 'SHA256', 'SHA384', 'SHA512']