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

Comparing ircd-hybrid/trunk/src/tls_openssl.c (file contents):
Revision 7386 by michael, Sun Feb 7 15:28:26 2016 UTC vs.
Revision 7387 by michael, Thu Mar 3 12:38:12 2016 UTC

# Line 158 | Line 158 | tls_new_cred(void)
158  
159        if (dh)
160        {
161 <        if (DH_size(dh) >= 256)
162 <          SSL_CTX_set_tmp_dh(ConfigServerInfo.tls_ctx.server_ctx, dh);
163 <        else
164 <          ilog(LOG_TYPE_IRCD, "Ignoring serverinfo::ssl_dh_param_file -- need at least a 2048 bit DH prime size");
165 <
161 >        SSL_CTX_set_tmp_dh(ConfigServerInfo.tls_ctx.server_ctx, dh);
162          DH_free(dh);
163        }
164      }

Diff Legend

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