diff options
author | Rob Austein <sra@hactrn.net> | 2017-04-14 15:22:25 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2017-04-14 15:22:25 -0400 |
commit | ce8ba928172071dc89cc1fc0520f840211bbfa0d (patch) | |
tree | ae1279914e28ff889565b1fd36d803bd9ac0d66e /scripts/py11-test.py | |
parent | 81ae5e07be01c0aacc332eb82db2f0ff452ced3d (diff) |
Python interface API will need to be cryptech.py11 for installation.
Diffstat (limited to 'scripts/py11-test.py')
-rw-r--r-- | scripts/py11-test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/py11-test.py b/scripts/py11-test.py index 04372ec..87af29d 100644 --- a/scripts/py11-test.py +++ b/scripts/py11-test.py @@ -1,7 +1,7 @@ # Initial test script using py11. About 2/3 testing PKCS #11, 1/3 # doodles figuring out what else py11 should be automating for us. -from py11 import * +from cryptech.py11 import * from struct import pack, unpack def show_token(i, t, strip = True): @@ -77,7 +77,7 @@ elif False: else: print "Using our own pseudo-MUTEXes" - from py11.mutex import MutexDB + from cryptech.py11.mutex import MutexDB mdb = MutexDB() p11.C_Initialize(0, mdb.create, mdb.destroy, mdb.lock, mdb.unlock) |