-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly encode a CRL with empty revokedCertificates. (#295)
This PR fixes the encoding of CRLs by leaving out the revokedCertificates element entirely if it is empty as required by section 5.1.2.6 of RFC 5280. There is no test whether it is actually left out since I can’t quite think of a way to do that. I have, however, manually verified the encoding and there are now tests for both cases that check that we ourselves accept the result.
- Loading branch information
Showing
1 changed file
with
27 additions
and
3 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