Only run opensslver tests if built with OpenSSL.

This commit is contained in:
Darren Tucker
2022-12-16 21:53:14 +11:00
parent 50a6fec801
commit 5cea851e4d
+2
View File
@@ -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);
}