Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1646520 - Stricter leading-zero checks for ASN.1 INTEGER values. …
…r=jcj This patch adjusts QuickDER to strictly enforce INTEGER encoding with respect to leading zeros: - If the MSB of the first (value) octet is set, a single zero byte MAY be present to make the value positive. This singular pad byte is removed. - Otherwise, the first octet must not be zero. Differential Revision: https://phabricator.services.mozilla.com/D80221 --HG-- extra : moz-landing-system : lando
- Loading branch information