Skip to content

Commit 7e2f89b

Browse files
committed
skip pkcs11 tests when built --without-openssl
1 parent 590a260 commit 7e2f89b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

regress/test-exec.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -926,6 +926,9 @@ p11_find_lib() {
926926
PKCS11_OK=
927927
export PKCS11_OK
928928
p11_setup() {
929+
# XXX we could potentially test ed25519 only in the absence of
930+
# RSA and ECDSA support.
931+
$SSH -Q key | grep ssh-rsa >/dev/null || return 1
929932
p11_find_lib \
930933
/usr/local/lib/softhsm/libsofthsm2.so \
931934
/usr/lib64/pkcs11/libsofthsm2.so \

0 commit comments

Comments
 (0)