Skip to content

Commit 8b75aab

Browse files
codebyteretargos
authored andcommitted
crypto: guard with OPENSSL_NO_GOST
PR-URL: #30050 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: David Carlier <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
1 parent 5ba842b commit 8b75aab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/node_crypto.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -2735,7 +2735,7 @@ void SSLWrap<Base>::GetSharedSigalgs(const FunctionCallbackInfo<Value>& args) {
27352735
case NID_ED448:
27362736
sig_with_md = "Ed448+";
27372737
break;
2738-
2738+
#ifndef OPENSSL_NO_GOST
27392739
case NID_id_GostR3410_2001:
27402740
sig_with_md = "gost2001+";
27412741
break;
@@ -2747,7 +2747,7 @@ void SSLWrap<Base>::GetSharedSigalgs(const FunctionCallbackInfo<Value>& args) {
27472747
case NID_id_GostR3410_2012_512:
27482748
sig_with_md = "gost2012_512+";
27492749
break;
2750-
2750+
#endif // !OPENSSL_NO_GOST
27512751
default:
27522752
const char* sn = OBJ_nid2sn(sign_nid);
27532753

0 commit comments

Comments
 (0)