GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — src: check node_extra_ca_certs after openssl cfg · nodejs/node@b8f4070

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • node.cc
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/node.cc‎

Copy file name to clipboardExpand all lines: src/node.cc
+6-5Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -961,11 +961,6 @@ InitializeOncePerProcessInternal(const std::vector<std::string>& args,
961961
return ret;
962962
};
963963

964-
{
965-
std::string extra_ca_certs;
966-
if (credentials::SafeGetenv("NODE_EXTRA_CA_CERTS", &extra_ca_certs))
967-
crypto::UseExtraCaCerts(extra_ca_certs);
968-
}
969964
// In the case of FIPS builds we should make sure
970965
// the random source is properly initialized first.
971966
#if OPENSSL_VERSION_MAJOR >= 3
@@ -1052,6 +1047,12 @@ InitializeOncePerProcessInternal(const std::vector<std::string>& args,
10521047
CHECK(crypto::CSPRNG(buffer, length).is_ok());
10531048
return true;
10541049
});
1050+
1051+
{
1052+
std::string extra_ca_certs;
1053+
if (credentials::SafeGetenv("NODE_EXTRA_CA_CERTS", &extra_ca_certs))
1054+
crypto::UseExtraCaCerts(extra_ca_certs);
1055+
}
10551056
#endif // HAVE_OPENSSL && !defined(OPENSSL_IS_BORINGSSL)
10561057
}
10571058

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.