From 261e1e35db97e99df38c12f6a48bb28f6b827ac8 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 17 Sep 2015 18:06:28 -0400 Subject: Enable locking in py11. --- scripts/py11-test.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/py11-test.py') 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() -- cgit v1.2.3