Skip to content

Commit e7de509

Browse files
author
Leif Johansson
committed
fix p11 tests
1 parent 45c74f7 commit e7de509

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/xmlsec/test/p11_test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
from xmlsec.test.case import load_test_data
2626

2727
P11_MODULE = find_alts(['/usr/lib/libsofthsm.so', '/usr/lib/softhsm/libsofthsm.so', '/usr/lib/softhsm/libsofthsm2.so'])
28-
P11_ENGINE = find_alts(['/usr/lib/engines/engine_pkcs11.so','/usr/lib/x86_64-linux-gnu/engines-1.1/pkcs11.so'])
28+
P11_ENGINE = find_alts(['/usr/lib/ssl/engines/libpkcs11.so','/usr/lib/engines/engine_pkcs11.so'])
2929
P11_SPY = find_alts(['/usr/lib/pkcs11/pkcs11-spy.so'])
3030
PKCS11_TOOL = find_alts(['/usr/bin/pkcs11-tool'])
3131
OPENSC_TOOL = find_alts(['/usr/bin/opensc-tool'])
@@ -41,7 +41,7 @@
4141
raise unittest.SkipTest("OpenSSL not installed")
4242

4343
if SOFTHSM is None:
44-
raise unittest.SkipTest("SoftHSM not installed")
44+
raise unittest.SkipTest("SoftHSM2 not installed")
4545

4646
if OPENSC_TOOL is None:
4747
raise unittest.SkipTest("OpenSC not installed")
@@ -134,8 +134,8 @@ def setup():
134134
135135
[pkcs11_section]
136136
engine_id = pkcs11
137-
# dynamic_path = %s
138-
# MODULE_PATH = %s
137+
dynamic_path = %s
138+
MODULE_PATH = %s
139139
PIN = secret1
140140
init = 0
141141

0 commit comments

Comments
 (0)