monit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[monit-dev] [monit] r364 committed - sslv2 support check


From: monit
Subject: [monit-dev] [monit] r364 committed - sslv2 support check
Date: Wed, 06 Apr 2011 07:44:21 +0000

Revision: 364
Author:   address@hidden
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;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]