From: Nikos Mavrogiannopoulos Date: Thu, 26 May 2016 09:05:40 +0000 (+0200) Subject: tests: ssl2-hello check is made conditional X-Git-Tag: gnutls_3_5_1~107 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=1337a3483b1aa40760aa77fa0a592ccef22dee85;p=thirdparty%2Fgnutls.git tests: ssl2-hello check is made conditional It is only run if ENABLE_SSL2 is defined. --- diff --git a/tests/ssl2-hello.c b/tests/ssl2-hello.c index e923abcd0c..62cf5e1a1d 100644 --- a/tests/ssl2-hello.c +++ b/tests/ssl2-hello.c @@ -33,7 +33,7 @@ * completed hello parsing and reached the alert message. */ -#if defined(_WIN32) +#if defined(_WIN32) || !defined(ENABLE_SSL2) /* socketpair isn't supported on Win32. */ int main(int argc, char **argv)