mirror of
https://github.com/openssh/openssh-portable.git
synced 2026-11-06 05:16:43 +00:00
skip pkcs11 tests when built --without-openssl
This commit is contained in:
1 file changed
+3
@@ -926,6 +926,9 @@ p11_find_lib() {
|
||||
PKCS11_OK=
|
||||
export PKCS11_OK
|
||||
p11_setup() {
|
||||
# XXX we could potentially test ed25519 only in the absence of
|
||||
# RSA and ECDSA support.
|
||||
$SSH -Q key | grep ssh-rsa >/dev/null || return 1
|
||||
p11_find_lib \
|
||||
/usr/local/lib/softhsm/libsofthsm2.so \
|
||||
/usr/lib64/pkcs11/libsofthsm2.so \
|
||||
|
||||
Reference in new issue
Block a user