Skip to content

src: fix compiler warnings in node_crypto.cc

Add parentheses, like my compiler suggests.

In the IsValidGCMTagLength() case I’m pretty sure that this grouping is the correct one, because it matches the earlier code; in the other case it would be good to have explicit confirmation.

Refs: https://github.com/nodejs/node/pull/20039

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading