File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525from xmlsec .test .case import load_test_data
2626
2727P11_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' ])
2929P11_SPY = find_alts (['/usr/lib/pkcs11/pkcs11-spy.so' ])
3030PKCS11_TOOL = find_alts (['/usr/bin/pkcs11-tool' ])
3131OPENSC_TOOL = find_alts (['/usr/bin/opensc-tool' ])
4141 raise unittest .SkipTest ("OpenSSL not installed" )
4242
4343if SOFTHSM is None :
44- raise unittest .SkipTest ("SoftHSM not installed" )
44+ raise unittest .SkipTest ("SoftHSM2 not installed" )
4545
4646if OPENSC_TOOL is None :
4747 raise unittest .SkipTest ("OpenSC not installed" )
@@ -134,8 +134,8 @@ def setup():
134134
135135[pkcs11_section]
136136engine_id = pkcs11
137- # dynamic_path = %s
138- # MODULE_PATH = %s
137+ dynamic_path = %s
138+ MODULE_PATH = %s
139139PIN = secret1
140140init = 0
141141
You can’t perform that action at this time.
0 commit comments