mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
crypto: guard with OPENSSL_NO_GOST
PR-URL: https://github.com/nodejs/node/pull/30050 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
1 parent
5ba842b8f9
commit
8b75aabee9
1 file changed
+2
-2
+2
-2
@@ -2735,7 +2735,7 @@ void SSLWrap<Base>::GetSharedSigalgs(const FunctionCallbackInfo<Value>& 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<Base>::GetSharedSigalgs(const FunctionCallbackInfo<Value>& 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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user