]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
tests: ssl2-hello check is made conditional
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 26 May 2016 09:05:40 +0000 (11:05 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 26 May 2016 09:05:43 +0000 (11:05 +0200)
It is only run if ENABLE_SSL2 is defined.

tests/ssl2-hello.c

index e923abcd0c9185f159c8fb902e99d14a7a2bad04..62cf5e1a1d5885de5d35cc3244b5cb4fafd40771 100644 (file)
@@ -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)