[package] update monit to 5.0.3 (#5284)
[packages.git] / admin / monit / patches / 001-no_sslv2.patch
1 --- a/ssl.c
2 +++ b/ssl.c
3 @@ -673,9 +673,11 @@ ssl_connection *new_ssl_connection(char 
4      ssl->method = SSLv23_client_method();
5      break;
6  
7 +#ifndef OPENSSL_NO_SSLV2
8    case SSL_VERSION_SSLV2:
9      ssl->method = SSLv2_client_method();
10      break;
11 +#endif
12  
13    case SSL_VERSION_SSLV3:
14      ssl->method = SSLv3_client_method();