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

git+noreply at mindrot.org git+noreply at mindrot.org
Thu Nov 3 10:01:36 AEDT 2022


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

dtucker pushed a commit to branch master
in repository openssh.

commit db97d8d0b90c6ce52b94b153d6f8f5f7d3b11777
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