wolfssl
wolfssl copied to clipboard
Allow overriding CRL chain errors early so CRL chain processing will continue.
Description
Fixes zd#17844
Testing
Customer confirmed fix
Checklist
- [ ] added tests
- [ ] updated/added doxygen
- [ ] updated appropriate READMEs
- [ ] Updated manual and documentation
Retest this please
I tried moving the check to the end of the function, but this lead to test failures, and doesn't seem scalable if we decide to call the verify callback in more spots in the future. Instead, I've added a flag to indicate the verify callback did not override an error which prevents it from being called again. This should cover the case you laid out.