inspircd/inspircd — pull request #856 by jvehent (2014-05-21 13:48:47+00:00)
Title: Set SSL options to sane default and enfore server cipher preferences

This patch adds sane options to the SSL context when using OpenSSL. Most notably, it enforces the selection of cipher server-side, which is necessary to properly use a ciphersuite defined by an administrator.

My understanding is that some options may fail with OpenSSL < 0.9.7, which was published in 2004.

I tested that the build passes, and got the following warning:

```
Checking version of package openssl is >= 0.9.7... Yes (version 1.0.1e)
Locating include directory for package openssl for module m_ssl_openssl.cpp... -DVERSION_OPENSSL="1.0.1e" (version 1.0.1e)
Locating library directory for package openssl for module m_ssl_openssl.cpp... -lssl -lcrypto (version 1.0.1e)
```