# | 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 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |