Revision: 364
Author:   mmo...@tildeslash.com
Date:     Wed Apr  6 00:41:56 2011
Log:      sslv2 support check
http://code.google.com/p/monit/source/detail?r=364

Modified:
 /trunk/ssl.c

=======================================
--- /trunk/ssl.c        Wed Apr  6 00:39:22 2011
+++ /trunk/ssl.c        Wed Apr  6 00:41:56 2011
@@ -634,12 +634,13 @@
 #ifdef OPENSSL_NO_SSL2
     LogError("SSLv2 is not allowed - use either SSLv3 or TLSv1");
     goto sslerror;
-#elif defined(OPENSSL_FIPS)
+#else
+#ifdef OPENSSL_FIPS
     if (FIPS_mode()) {
       LogError("SSLv2 is not allowed in FIPS mode - use TLSv1");
       goto sslerror;
     } else
-#else
+#endif
       ssl->method = SSLv2_client_method();
 #endif
     break;

_______________________________________________
monit-dev mailing list
monit-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monit-dev

Reply via email to