ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/src/tls_openssl.c
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/src/tls_openssl.c (file contents):
Revision 7189 by michael, Sat Jan 30 18:45:13 2016 UTC vs.
Revision 7191 by michael, Sat Jan 30 18:47:50 2016 UTC

# Line 82 | Line 82 | tls_init(void)
82    SSL_CTX_set_session_cache_mode(ConfigServerInfo.tls_ctx.server_ctx, SSL_SESS_CACHE_OFF);
83    SSL_CTX_set_cipher_list(ConfigServerInfo.tls_ctx.server_ctx, "EECDH+HIGH:EDH+HIGH:HIGH:!aNULL");
84  
85 < #if OPENSSL_VERSION_NUMBER >= 0x009080FFL && !defined(OPENSSL_NO_ECDH)
85 > #ifndef OPENSSL_NO_ECDH
86    {
87      EC_KEY *key = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1);
88  
# Line 164 | Line 164 | tls_new_cred(void)
164        ilog(LOG_TYPE_IRCD, "Ignoring serverinfo::ssl_dh_param_file -- could not open/read Diffie-Hellman parameter file");
165    }
166  
167 < #if OPENSSL_VERSION_NUMBER >= 0x009080FFL && !defined(OPENSSL_NO_ECDH)
167 > #ifndef OPENSSL_NO_ECDH
168    if (ConfigServerInfo.ssl_dh_elliptic_curve)
169    {
170      int nid = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)