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 — crypto: handle missing OPENSSL_TLS_SECURITY_LEVEL · nodejs/node@a896eff

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • deps/ncrypto
    • ncrypto.cc
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎deps/ncrypto/ncrypto.cc‎

Copy file name to clipboardExpand all lines: deps/ncrypto/ncrypto.cc
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2744,8 +2744,9 @@ std::optional<int> SSLPointer::getSecurityLevel() {
27442744

27452745
return SSL_get_security_level(ssl);
27462746
#else
2747-
// for BoringSSL assume the same as the default
2748-
return OPENSSL_TLS_SECURITY_LEVEL;
2747+
// OPENSSL_TLS_SECURITY_LEVEL is not defined in BoringSSL
2748+
// so assume it is the default OPENSSL_TLS_SECURITY_LEVEL value.
2749+
return 1;
27492750
#endif // OPENSSL_IS_BORINGSSL
27502751
}
27512752

0 commit comments

Comments
0 (0)
You are visitor 01402520 — 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.