Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b7bdfd3

Browse filesBrowse files
codebyteretargos
authored andcommitted
crypto: guard with OPENSSL_NO_GOST
PR-URL: #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>
1 parent 0415dd7 commit b7bdfd3
Copy full SHA for b7bdfd3

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎src/node_crypto.cc‎

Copy file name to clipboardExpand all lines: src/node_crypto.cc
+2-2Lines changed: 2 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.