mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00:00
TEST-24-CRYPTSETUP: depend on OpenSSL for testing PKCS#11 tokens
This commit is contained in:
parent
f569dc6af2
commit
9499741c0e
|
@ -56,6 +56,10 @@ can_test_pkcs11() {
|
|||
ddebug "Support for p11-kit is disabled, skipping the PKCS#11 test"
|
||||
return 1
|
||||
fi
|
||||
if ! "${SYSTEMCTL:?}" --version | grep -q "+OPENSSL"; then
|
||||
ddebug "Support for openssl is disabled, skipping the PKCS#11 test"
|
||||
return 1
|
||||
fi
|
||||
if ! "${SYSTEMCTL:?}" --version | grep -q "+LIBCRYPTSETUP\b"; then
|
||||
ddebug "Support for libcryptsetup is disabled, skipping the PKCS#11 test"
|
||||
return 1
|
||||
|
|
Loading…
Reference in a new issue