aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/time-signature.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/scripts/time-signature.py b/scripts/time-signature.py
index 99ec718..732eaa4 100755
--- a/scripts/time-signature.py
+++ b/scripts/time-signature.py
@@ -7,7 +7,6 @@ Time PKCS #11 signatures.
import collections
import argparse
import datetime
-import platform
import sys
from Crypto.Hash.SHA256 import SHA256Hash as SHA256
@@ -22,11 +21,7 @@ except ImportError:
sys.path.append(dirname(dirname(abspath(sys.argv[0]))))
from cryptech.py11 import *
-
-if platform.system() == "Darwin":
- libpkcs11_default = "./libcryptech-pkcs11.dylib"
-else:
- libpkcs11_default = "./libcryptech-pkcs11.so"
+from cryptech.py11 import default_so_name as libpkcs11_default
class RSAKey(object):