diff --git a/node.gypi b/node.gypi index 44780fe3b1211c..eb39ff0c96c642 100644 --- a/node.gypi +++ b/node.gypi @@ -359,7 +359,10 @@ 'defines': [ 'HAVE_OPENSSL=1' ], 'conditions': [ [ 'node_shared_openssl=="false"', { - 'defines': [ 'OPENSSL_API_COMPAT=0x10100000L', ], + 'defines': [ + 'OPENSSL_API_COMPAT=0x10100000L', + 'OPENSSL_TLS_SECURITY_LEVEL=1', + ], 'dependencies': [ './deps/openssl/openssl.gyp:openssl',