[openssh-commits] [openssh] 02/02: skip pkcs11 tests when built --without-openssl

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Oct 31 12:20:05 AEDT 2025


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 7e2f89b0fb72141abbce098e2682ba8e090cabfc
Author: Damien Miller <djm at mindrot.org>
AuthorDate: Fri Oct 31 12:19:47 2025 +1100

    skip pkcs11 tests when built --without-openssl
---
 regress/test-exec.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/regress/test-exec.sh b/regress/test-exec.sh
index 5b0c91f3f..b38908cee 100644
--- a/regress/test-exec.sh
+++ b/regress/test-exec.sh
@@ -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 \

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list