Skip to content

Commit a4a433f

Browse files
tniessendanielleadams
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 <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 6a0c1d0 commit a4a433f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/crypto/crypto_context.cc

-2
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)