cloudflare / boring

BoringSSL bindings for the Rust programming language.
369 stars 114 forks source link

Add `set_cert_verify_callback` (`SSL_CTX_set_cert_verify`) #287

Closed semaj-cf closed 1 month ago

semaj-cf commented 1 month ago

Add a wrapper for SSL_CTX_set_cert_verify, which allows consumers to override the default certificate verification behavior.

The binding resembles SSL_CTX_set_verify's.

See https://docs.openssl.org/master/man3/SSL_CTX_set_cert_verify_callback/ for more details.

semaj-cf commented 1 month ago

failing build looks related to: https://github.com/cloudflare/boring/issues/285