Missing error status when retries are exhausted #795
Labels
No labels
bug
duplicate
enhancement
feature
help wanted
improve API
invalid
needs documentation
not-planned
rtfm
stale
support
wishlist
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-libtom/libtomcrypt#795
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Affected Code:
src/pk/ecc/ecc_sign_hash_internal.c:102
When all
LTC_PK_MAX_RETRIESattempts are exhausted without producing a valid signature, the code jumps toerrnokeywithout settingerr. This can cause the function to incorrectly returnCRYPT_OK.Suggested fix: