From 913a78936d660d6918d78a373d127d56cec6696b Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Mon, 14 May 2018 12:24:12 +0200 Subject: [PATCH] build: export openssl TLSv1 methods again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upstream deprecated them and moved them into categories of their own. Add those categories to the export list. Node.js doesn't use them but some add-ons do. Fixes: https://github.com/nodejs/node/issues/20369 PR-URL: https://github.com/nodejs/node/pull/20712 Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: Daniel Bevenius Reviewed-By: James M Snell Reviewed-By: Michael Dawson Reviewed-By: Ruben Bridgewater Reviewed-By: Tobias Nießen --- node.gyp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node.gyp b/node.gyp index ecdb1479568..d894fec7d92 100644 --- a/node.gyp +++ b/node.gyp @@ -602,7 +602,7 @@ # Categories to export. '-CAES,BF,BIO,DES,DH,DSA,EC,ECDH,ECDSA,ENGINE,EVP,HMAC,MD4,MD5,' 'PSK,RC2,RC4,RSA,SHA,SHA0,SHA1,SHA256,SHA512,SOCK,STDIO,TLSEXT,' - 'FP_API', + 'FP_API,TLS1_METHOD,TLS1_1_METHOD,TLS1_2_METHOD', # Defines. '-DWIN32', # Symbols to filter from the export list.