Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src: fix compiler warnings in node_crypto.cc #20231

Closed
wants to merge 1 commit into from

Conversation

addaleax
Copy link
Member

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: #20039

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

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: nodejs#20039
@addaleax addaleax requested a review from tniessen April 23, 2018 16:34
@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. crypto Issues and PRs related to the crypto subsystem. labels Apr 23, 2018
@cjihrig
Copy link
Contributor

cjihrig commented Apr 23, 2018

Duplicate of #20216?

@addaleax
Copy link
Member Author

Yes. ;)

@addaleax addaleax closed this Apr 23, 2018
@addaleax addaleax added the duplicate Issues and PRs that are duplicates of other issues or PRs. label Apr 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ Issues and PRs that require attention from people who are familiar with C++. crypto Issues and PRs related to the crypto subsystem. duplicate Issues and PRs that are duplicates of other issues or PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants