Only run opensslver tests if built with OpenSSL.

This commit is contained in:
Darren Tucker 2022-11-03 10:00:43 +11:00
parent ba05370963
commit db97d8d0b9
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

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);
}