aboutsummaryrefslogtreecommitdiffstats
path: root/.gitmodules
diff options
context:
space:
mode:
authorDavid Benjamin <[email protected]>2025-10-20 23:38:14 +0200
committerTomas Mraz <[email protected]>2025-11-24 19:23:05 +0100
commit14ddbcee237cb99b3921c352852b4d4fadbb8e6c (patch)
tree7402b7b998f3a273cba0075833aad33caf3f82f2 /.gitmodules
parentdoc/man3/X509_STORE_get0_param.pod: mention how to free the returned objects (diff)
downloadopenssl-3.2.tar.gz
openssl-3.2.zip
doc: Discuss calling X509_verify_cert in cert_verify_callbackopenssl-3.2
Using SSL_CTX_set_cert_verify_callback but still calling X509_verify_cert is useful if applications want to dynamically configure the X509_STORE_CTX, or postprocess the result, in a way that does not quite fit the somewhat unpredictable behavior of the SSL_CTX_set_verify callback. (In my experience, applications rarely realize it is called multiple times. It's also too late at that point to reconfigure the X509_STORE_CTX as verification has already started.) There is one note in the docs that the callback needs to stash the verify result with X509_STORE_CTX_set_error, but it is not immediately obvious that X509_verify_cert will do so, or that it is the built-in behavior. Add a paragraph discussing this. Reviewed-by: Tim Hudson <[email protected]> Reviewed-by: Viktor Dukhovni <[email protected]> Reviewed-by: Tomas Mraz <[email protected]> (Merged from https://github.com/openssl/openssl/pull/28960) (cherry picked from commit 069181d7f39beaae22bfa67bcba3c5fe93acafd4)
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions