diff options
Diffstat (limited to 'scripts/py11-test.py')
-rw-r--r-- | scripts/py11-test.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/py11-test.py b/scripts/py11-test.py index 45d6713..8e189e3 100644 --- a/scripts/py11-test.py +++ b/scripts/py11-test.py @@ -64,10 +64,9 @@ ec_curve_oid_p256 = "".join(chr(i) for i in (0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, ec_curve_oid_p384 = "".join(chr(i) for i in (0x06, 0x05, 0x2b, 0x81, 0x04, 0x00, 0x22)) ec_curve_oid_p521 = "".join(chr(i) for i in (0x06, 0x05, 0x2b, 0x81, 0x04, 0x00, 0x23)) - p11 = PKCS11("./libpkcs11.so") -p11.C_Initialize() +p11.C_Initialize(CKF_OS_LOCKING_OK) slots = p11.C_GetSlotList() |