summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/x509/callbackfailures.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove unwanted trailing newlines from err/warn format strings.anton2024-08-231-2/+2
|
* Switch regress to using x509_verify.h from libcrypto instead of thetb2023-01-281-2/+3
| | | | one in /usr/include/openssl.
* Fix the legacy verifier callback behaviour for untrusted certs.beck2022-06-281-0/+297
The verifier callback is used by mutt to do a form of certificate pinning where the callback gets fired and depending on a cert saved to a file will decide to accept an untrusted cert. This corrects two problems that affected this. The callback was not getting the correct depth and chain for the error where mutt would save the certificate in the first place, and then the callback was not getting fired to allow it to override the failing certificate validation. thanks to Avon Robertson <avon.r@xtra.co.nz> for the report and sthen@ for analysis. "The callback is not an API, it's a gordian knot - tb@" ok jsing@