$OpenBSD: patch-test_test_hashes_py,v 1.2 2008/06/11 02:59:32 wcmaier Exp $ --- test/test_hashes.py.orig Fri Aug 13 17:23:12 2004 +++ test/test_hashes.py Wed May 28 20:55:21 2008 @@ -10,7 +10,7 @@ from sancho.unittest import TestScenario, parse_args, from Crypto.Hash import * import testdata -tested_modules = [ "Crypto.Hash.MD2", "Crypto.Hash.MD4", "Crypto.Hash.MD5", +tested_modules = [ "Crypto.Hash.MD4", "Crypto.Hash.MD5", "Crypto.Hash.RIPEMD", "Crypto.Hash.SHA", "Crypto.Hash.SHA256"] class HashTest (TestScenario): @@ -55,11 +55,6 @@ class HashTest (TestScenario): print 'Unable to measure time -- elapsed time too small' else: print '%.2f K/sec' % (128/(end-start)) - - def check_md2 (self): - "MD2 module" - self.run_test_suite(MD2, testdata.md2) - self.benchmark(MD2) def check_md4 (self): "MD4 module"