diff options
Diffstat (limited to 'src/node_crypto.cc')
-rw-r--r-- | src/node_crypto.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/node_crypto.cc b/src/node_crypto.cc index a5710dc33b..813e1fc485 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -5564,12 +5564,6 @@ void DiffieHellman::SetPublicKey(const FunctionCallbackInfo<Value>& args) { } void DiffieHellman::SetPrivateKey(const FunctionCallbackInfo<Value>& args) { -#if OPENSSL_VERSION_NUMBER >= 0x10100000L && \ - OPENSSL_VERSION_NUMBER < 0x10100070L -// Older versions of OpenSSL 1.1.0 have a DH_set0_key which does not work for -// Node. See https://github.com/openssl/openssl/pull/4384. -#error "OpenSSL 1.1.0 revisions before 1.1.0g are not supported" -#endif SetKey(args, [](DH* dh, BIGNUM* num) { return DH_set0_key(dh, nullptr, num); }, "Private key"); |