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

Comparing ircd-hybrid-8/src/conf_parser.y (file contents):
Revision 1329 by michael, Sun Apr 1 12:02:12 2012 UTC vs.
Revision 1352 by michael, Fri Apr 13 09:57:08 2012 UTC

# Line 624 | Line 624 | serverinfo_ssl_dh_param_file: SSL_DH_PAR
624  
625        if (dh)
626        {
627 <        SSL_CTX_set_tmp_dh(ServerInfo.server_ctx, dh);
627 >        if (DH_size(dh) < 128)
628 >          ilog(LOG_TYPE_IRCD, "Ignoring serverinfo::ssl_dh_param_file -- need at least a 1024 bit DH prime size");
629 >        else
630 >          SSL_CTX_set_tmp_dh(ServerInfo.server_ctx, dh);
631 >
632          DH_free(dh);
633        }
634      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines