[packages] monit: update to 5.2.4
[openwrt/svn-archive/archive.git] / admin / monit / patches / 001-no_sslv2.patch
1 --- a/ssl.c
2 +++ b/ssl.c
3 @@ -635,6 +635,7 @@ ssl_connection *new_ssl_connection(char
4 #endif
5 break;
6
7 +#ifndef OPENSSL_NO_SSLV2
8 case SSL_VERSION_SSLV2:
9 #ifdef OPENSSL_FIPS
10 if (FIPS_mode()) {
11 @@ -647,6 +648,7 @@ ssl_connection *new_ssl_connection(char
12 }
13 #endif
14 break;
15 +#endif
16
17 case SSL_VERSION_SSLV3:
18 #ifdef OPENSSL_FIPS