[openssh-commits] [openssh] 01/02: Only run opensslver tests if built with OpenSSL.

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Dec 16 22:01:14 AEDT 2022


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

dtucker pushed a commit to branch V_9_1
in repository openssh.

commit 5cea851e4decff802caae7e9f3a2eae1d056c75d
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Thu Nov 3 10:00:43 2022 +1100

    Only run opensslver tests if built with OpenSSL.
---
 openbsd-compat/regress/opensslvertest.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/openbsd-compat/regress/opensslvertest.c b/openbsd-compat/regress/opensslvertest.c
index 43825b24..d5006660 100644
--- a/openbsd-compat/regress/opensslvertest.c
+++ b/openbsd-compat/regress/opensslvertest.c
@@ -56,6 +56,7 @@ fail(long hver, long lver, int result)
 int
 main(void)
 {
+#ifdef WITH_OPENSSL
 	unsigned int i;
 	int res;
 	long hver, lver;
@@ -67,5 +68,6 @@ main(void)
 		if (ssh_compatible_openssl(hver, lver) != res)
 			fail(hver, lver, res);
 	}
+#endif
 	exit(0);
 }

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


More information about the openssh-commits mailing list