summaryrefslogtreecommitdiff
path: root/tests/alltests.py
diff options
context:
space:
mode:
authorHeikki Toivonen <heikki@heikkitoivonen.net>2006-03-07 00:18:34 +0000
committerHeikki Toivonen <heikki@heikkitoivonen.net>2006-03-07 00:18:34 +0000
commitd7652c0436cf535290e09187cc50be6b2633335b (patch)
tree32ffd35497ec66536b45e1f144e9d406e44949cc /tests/alltests.py
parent0529c1987780e013ad7a4bacf58901a6a46d8361 (diff)
downloadm2crypto-d7652c0436cf535290e09187cc50be6b2633335b.tar.gz
Bug 3745, ECDSA signatures and ECDH key agreement. Original
patch by Arno Bakker. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@368 2715db39-9adf-0310-9c64-84f055769b4b
Diffstat (limited to 'tests/alltests.py')
-rw-r--r--tests/alltests.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/alltests.py b/tests/alltests.py
index f1c29c9..5f83906 100644
--- a/tests/alltests.py
+++ b/tests/alltests.py
@@ -3,7 +3,7 @@
RCS_id = '$Id$'
import os, unittest
-from M2Crypto import Rand
+from M2Crypto import Rand, m2
def suite():
modules_to_test = [
@@ -23,6 +23,9 @@ def suite():
modules_to_test.append('test_ssl')
elif os.name == 'nt':
modules_to_test.append('test_ssl_win')
+ if m2.OPENSSL_VERSION_NUMBER >= 0x90800F:
+ modules_to_test.append('test_ecdh')
+ modules_to_test.append('test_ecdsa')
alltests = unittest.TestSuite()
for module in map(__import__, modules_to_test):
alltests.addTest(module.suite())