Check for pkcs11-tool in keyfromlabel system test
pkcs11-tool which is typically part of the opensc package is required for the keyfromlabel test.
This commit is contained in:
@@ -13,9 +13,9 @@
|
||||
|
||||
. ../conf.sh
|
||||
|
||||
if [ -n "${SOFTHSM2_MODULE}" ] && command -v softhsm2-util >/dev/null; then
|
||||
if [ -n "${SOFTHSM2_MODULE}" ] && command -v pkcs11-tool >/dev/null && command -v softhsm2-util >/dev/null; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo_i "skip: softhsm2-util not available"
|
||||
echo_i "skip: softhsm2-util or pkcs11-tool not available"
|
||||
exit 255
|
||||
|
||||
Reference in New Issue
Block a user