mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-03-11 09:17:38 +00:00
Only run opensslver tests if built with OpenSSL.
This commit is contained in:
parent
ba05370963
commit
db97d8d0b9
@ -56,6 +56,7 @@ fail(long hver, long lver, int result)
|
|||||||
int
|
int
|
||||||
main(void)
|
main(void)
|
||||||
{
|
{
|
||||||
|
#ifdef WITH_OPENSSL
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
int res;
|
int res;
|
||||||
long hver, lver;
|
long hver, lver;
|
||||||
@ -67,5 +68,6 @@ main(void)
|
|||||||
if (ssh_compatible_openssl(hver, lver) != res)
|
if (ssh_compatible_openssl(hver, lver) != res)
|
||||||
fail(hver, lver, res);
|
fail(hver, lver, res);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user