mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
TEST-24-CRYPTSETUP: depend on OpenSSL for testing PKCS#11 tokens
This commit is contained in:
committed by
Yu Watanabe
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
|
||||
|
||||
Reference in New Issue
Block a user