aboutsummaryrefslogtreecommitdiff
path: root/unit_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'unit_tests.py')
-rw-r--r--unit_tests.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/unit_tests.py b/unit_tests.py
index fe96207..e4c4a97 100644
--- a/unit_tests.py
+++ b/unit_tests.py
@@ -6,10 +6,10 @@ PKCS #11 unit tests, using cryptech.py11 and the Python unit_test framework.
import unittest
import datetime
-import platform
import sys
from cryptech.py11 import *
+from cryptech.py11 import default_so_name as libpkcs11_default
from cryptech.py11.mutex import MutexDB
try:
@@ -22,12 +22,6 @@ except ImportError:
pycrypto_loaded = False
-if platform.system() == "Darwin":
- libpkcs11_default = "./libcryptech-pkcs11.dylib"
-else:
- libpkcs11_default = "./libcryptech-pkcs11.so"
-
-
def log(msg):
if not args.quiet:
sys.stderr.write(msg)