BSD sysutils/monit: Fix NO-SSLv3 Build

Issue #265 closed
Former user created an issue

Currently monit fails to build when openssl libraries have been built without SSLv3 (configure --no-ssl2 --nossl3). This has surfaced when building with the latest LibreSSL 2.3.

Attached patches address all these issues. These can be improved upon by using only SSLv23_ methods or even TLS_ methods and setting SSL_CTX_set_options(ctx, SSL_OP_NO_SSL2 | SSL_OP_NO_SSL3) but I've tried to make the patches minimally intrusive. OpenSSL 1.1.0 will deprecate SSLv23_ methods and introduces compatible TLS_ methods.

Comments (1)

  1. Log in to comment