-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent crash on BER-encoded signedAttrs
The code was assuming the object was DER-encoded, and the relevant integer was therefore in short form. Because I postponed the DER enforcement in deef7b7, the code should not make reckless assumptions about the signedAttrs encoding. Thanks to Niklas Vogel for reporting this.
- Loading branch information
Showing
1 changed file
with
51 additions
and
35 deletions.
There are no files selected for viewing
This file contains 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