From a228e22533260055495c0f592a4785d15282f2fb Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Mon, 21 Oct 2019 09:14:05 -0700 Subject: crypto: guard with OPENSSL_NO_GOST MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/30050 Reviewed-By: Tobias Nießen Reviewed-By: Richard Lau Reviewed-By: David Carlier Reviewed-By: Ben Noordhuis --- src/node_crypto.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/node_crypto.cc b/src/node_crypto.cc index adefb7f482..20cc52fbff 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -2735,7 +2735,7 @@ void SSLWrap::GetSharedSigalgs(const FunctionCallbackInfo& args) { case NID_ED448: sig_with_md = "Ed448+"; break; - +#ifndef OPENSSL_NO_GOST case NID_id_GostR3410_2001: sig_with_md = "gost2001+"; break; @@ -2747,7 +2747,7 @@ void SSLWrap::GetSharedSigalgs(const FunctionCallbackInfo& args) { case NID_id_GostR3410_2012_512: sig_with_md = "gost2012_512+"; break; - +#endif // !OPENSSL_NO_GOST default: const char* sn = OBJ_nid2sn(sign_nid); -- cgit v1.2.3