diff options
author | David Benjamin <davidben@google.com> | 2017-09-23 04:07:58 -0400 |
---|---|---|
committer | Rod Vagg <rod@vagg.org> | 2017-11-11 20:42:50 +1100 |
commit | d9b9229d98afb4b3f01e73c619c5fede0f87138f (patch) | |
tree | 1b26b7483570908f41eb5e7a6b9d68ca570f0fb6 /src/node_constants.cc | |
parent | e433afa65245d2aa2eff84da1c2f69db83460cbe (diff) | |
download | node-new-d9b9229d98afb4b3f01e73c619c5fede0f87138f.tar.gz |
test: fix test-https-agent-session-eviction for 1.1
This test is testing the workaround for an OpenSSL 1.0.x bug, which was
fixed in 1.1.0. With the bug fixed, the test expectations need to change
slightly.
PR-URL: https://github.com/nodejs/node/pull/16130
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Rod Vagg <rod@vagg.org>
Diffstat (limited to 'src/node_constants.cc')
-rw-r--r-- | src/node_constants.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/node_constants.cc b/src/node_constants.cc index ba33d65d1d..d478d43400 100644 --- a/src/node_constants.cc +++ b/src/node_constants.cc @@ -759,6 +759,10 @@ void DefineSignalConstants(Local<Object> target) { } void DefineOpenSSLConstants(Local<Object> target) { +#ifdef OPENSSL_VERSION_NUMBER + NODE_DEFINE_CONSTANT(target, OPENSSL_VERSION_NUMBER); +#endif + #ifdef SSL_OP_ALL NODE_DEFINE_CONSTANT(target, SSL_OP_ALL); #endif |