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 — test: fix compiler warning in NodeCryptoEnv · nodejs/node@ddebd29

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/cctest
    • test_node_crypto_env.cc
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/cctest/test_node_crypto_env.cc‎

Copy file name to clipboardExpand all lines: test/cctest/test_node_crypto_env.cc
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ TEST_F(NodeCryptoEnv, LoadBIO) {
2323
Local<String> key = String::NewFromUtf8(isolate_, "abcdef").ToLocalChecked();
2424
node::crypto::BIOPointer bio(node::crypto::LoadBIO(*env, key));
2525
#if OPENSSL_VERSION_NUMBER >= 0x30000000L
26-
BIO_seek(bio.get(), 2);
27-
ASSERT_EQ(BIO_tell(bio.get()), 2);
26+
const int ofs = 2;
27+
ASSERT_EQ(BIO_seek(bio.get(), ofs), ofs);
28+
ASSERT_EQ(BIO_tell(bio.get()), ofs);
2829
#endif
2930
ASSERT_EQ(ERR_peek_error(), 0UL) << "There should not have left "
3031
"any errors on the OpenSSL error stack\n";

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.