src: minor cleanup and simplification of crypto::Hash#35651
Closed
jasnell wants to merge 1 commit intonodejs:masterfrom
Closed
src: minor cleanup and simplification of crypto::Hash#35651jasnell wants to merge 1 commit intonodejs:masterfrom
jasnell wants to merge 1 commit intonodejs:masterfrom
Conversation
Signed-off-by: James M Snell <[email protected]>
Collaborator
|
Review requested:
|
This comment has been minimized.
This comment has been minimized.
Trott
previously approved these changes
Oct 15, 2020
Member
Trott
left a comment
There was a problem hiding this comment.
Micro-nit that can totally be ignored: First word after the subsystem in the commit message should be an imperative verb. Maybe src: simplify crypto::Hash implementation?
LGTM but I'm going to wait for a domain expert to weigh in first....
This comment has been minimized.
This comment has been minimized.
Member
Author
Member
That's really weird, I am sure I've been in that team for years. Thanks for the ping. |
tniessen
approved these changes
Oct 16, 2020
Member
Author
|
I may have just overlooked your name in the list. |
Trott
approved these changes
Oct 18, 2020
Contributor
|
Landed in 1103b15...84a7880 |
nodejs-github-bot
pushed a commit
that referenced
this pull request
Oct 19, 2020
Signed-off-by: James M Snell <[email protected]> PR-URL: #35651 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Rich Trott <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Some minor cleanups and simplification for
crypto::Hash@addaleax @targos... I was working on this because
valgrind --leak-check=fullis reporting the following whencrypto.createHash()is called but I can't seem to be able to track down the uninitialized memory...After digging in, I've tracked down the above warning to the HashInit call inside Hash::New ... But, here's the fun part, adding any printf inside HashInit makes the initialized jump/move disappear.
This depends on the recent semver-major crypto refactor but can be backported.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes