-
Notifications
You must be signed in to change notification settings - Fork 917
Add CRL generation code #9631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add CRL generation code #9631
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 10 out of 11 changed files in this pull request and generated 11 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
tests/api.c
Outdated
| ExpectNotNull(wolfSSL_X509_CRL_set_nextUpdate(crl, &asnTime)); | ||
|
|
||
| /* Add revoked certificates based on serial numbers */ | ||
| for (int i = 0; i < numSerials; i++) { |
Copilot
AI
Jan 9, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C89 compliance issue: Variable 'i' is declared in the for loop initialization. This is a C99 feature that may not be compatible with C89 compilers. The variable should be declared before the for loop if C89 compatibility is required.
b386dbf to
728e99c
Compare
728e99c to
ccd3562
Compare
Description
Add ability to generate a certificate revocation list (CRL), in addition to the existing CRL decode logic.
Testing
New unit test in C, and new test script which uses openssl to validate the output.
Checklist