chore/polish-2.0.1 #6

Merged
sezieru merged 5 commits from chore/polish-2.0.1 into main 2025-10-15 04:28:27 +00:00
Owner

Numerous relatively minor modifications to add polish to v2.0.1.

Numerous relatively minor modifications to add polish to v2.0.1.
- switch resalt, cpu_tim, alg to unsigned long to match crypt_gensalt() and count semantics
- replace strtol with strtoul in parse_ulong and ensure the updated function works properly
- fix resalt logic: replace 'while (--resalt >= 0)' (unsigned underflow) with a bounded loop
- update comments + alignment; add extended note on unsigned pitfalls and testing after refactors

All tests pass.
sezieru self-assigned this 2025-10-14 08:18:43 +00:00
sezieru changed title from chore/polish-2.0.1 to WIP: chore/polish-2.0.1 2025-10-14 08:18:57 +00:00
sezieru changed title from WIP: chore/polish-2.0.1 to chore/polish-2.0.1 2025-10-15 04:28:15 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: fosster/rexcrypt#6
No description provided.