Fix misleading comments in SHA-crypt and derived code#5962
Open
dchidindu5 wants to merge 2 commits intoopenwall:bleeding-jumbofrom
Open
Fix misleading comments in SHA-crypt and derived code#5962dchidindu5 wants to merge 2 commits intoopenwall:bleeding-jumbofrom
dchidindu5 wants to merge 2 commits intoopenwall:bleeding-jumbofrom
Conversation
Member
|
Thanks. The comments changes themselves look good to me. I see the wording resembles what's already used in these files: While at it, I also notice the typo in However, the commits here need to be revised. For the commit message, I suggest: There should be no technical/irrelevant history here. No merge commit of bleeding-jumbo into your branch - instead, your branch should have been rebased and force-pushed. I could take care of this by squash-and-merge this time, but if this whole exercise is to practice for your further contributions then you may want to do it right already for this PR, I guess? |
Author
|
I'd apply the needed changes and also squash the commit.
Thanks a lot
…On Sun, 15 Mar 2026, 12:52 am Solar Designer, ***@***.***> wrote:
*solardiz* left a comment (openwall/john#5962)
<#5962 (comment)>
Thanks.
The comments changes themselves look good to me. I see the wording
resembles what's already used in these files:
./sha512crypt_fmt_plug.c: /* repeat the following 16+A[0] times, where A[0] represents the
./sha256crypt_fmt_plug.c: /* repeat the following 16+A[0] times, where A[0] represents the
./gost12512hash_fmt_plug.c: /* repeast the following 16+A[0] times, where A[0] represents the
While at it, I also notice the typo in repeast there. You may fix this as
well.
However, the commits here need to be revised. For the commit message, I
suggest:
Fix misleading comments in SHA-crypt and derived code
Fixes #5951
There should be no technical/irrelevant history here. No merge commit of
bleeding-jumbo into your branch - instead, your branch should have been
rebased and force-pushed.
I could take care of this by squash-and-merge this time, but if this whole
exercise is to practice for your further contributions then you may want to
do it right already for this PR, I guess?
—
Reply to this email directly, view it on GitHub
<#5962 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEPEESZCRAMSQCKWGPAFJ6L4QXWFRAVCNFSM6AAAAACWQ3BMYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DANRRG4ZDCMBTGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
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.
Cross checked and fixed the following modules for duplicate comments that does not reflect the action of the code.