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: reuse variable instead of reevaluation · nodejs/node@16bf5fe

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • node_crypto.cc
Expand file treeCollapse file tree
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
@@ -3449,7 +3449,7 @@ void CipherBase::Init(const char* cipher_type,
34493449
nullptr,
34503450
reinterpret_cast<unsigned char*>(key),
34513451
reinterpret_cast<unsigned char*>(iv),
3452-
kind_ == kCipher);
3452+
encrypt);
34533453
}
34543454

34553455

@@ -3518,7 +3518,7 @@ void CipherBase::InitIv(const char* cipher_type,
35183518
nullptr,
35193519
reinterpret_cast<const unsigned char*>(key),
35203520
reinterpret_cast<const unsigned char*>(iv),
3521-
kind_ == kCipher);
3521+
encrypt);
35223522
}
35233523

35243524

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.