Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b051ac7

Browse filesBrowse files
tniessentargos
authored andcommitted
src: remove use of SSL_OP_SINGLE_DH_USE
This option does not have any effect in any supported OpenSSL version. Refs: #46954 PR-URL: #46955 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 17d3eb0 commit b051ac7
Copy full SHA for b051ac7

File tree

Expand file treeCollapse file tree

1 file changed

+0
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-2
lines changed
Open diff view settings
Collapse file

‎src/crypto/crypto_context.cc‎

Copy file name to clipboardExpand all lines: src/crypto/crypto_context.cc
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -878,8 +878,6 @@ void SecureContext::SetDHParam(const FunctionCallbackInfo<Value>& args) {
878878
env->isolate(), "DH parameter is less than 2048 bits"));
879879
}
880880

881-
SSL_CTX_set_options(sc->ctx_.get(), SSL_OP_SINGLE_DH_USE);
882-
883881
if (!SSL_CTX_set_tmp_dh(sc->ctx_.get(), dh.get())) {
884882
return THROW_ERR_CRYPTO_OPERATION_FAILED(
885883
env, "Error setting temp DH parameter");

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.