Skip to content

Commit 1a8fd41

Browse files
committed
Fix softhsm version selection
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
1 parent 58d5ed2 commit 1a8fd41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/xmlsec/test/p11_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
raise unittest.SkipTest("Required components missing: {}".format(missing))
7878

7979
softhsm_version = 1
80-
if component_path['SOFTHSM'] == '/usr/bin/softhsm2-util':
80+
if component_path['SOFTHSM'].endswith('softhsm2-util'):
8181
softhsm_version = 2
8282

8383
p11_test_files = []

0 commit comments

Comments
 (0)