Alternative to rustls_client_cert_verifier that allows connections
with or without a client certificate. If the client offers a certificate,
it will be verified (and rejected if it is not valid). If the client
does not offer a certificate, the connection will succeed.
The application can retrieve the certificate, if any, with
rustls_connection_get_peer_certificate.
Alternative to rustls_client_cert_verifier that allows connections with or without a client certificate. If the client offers a certificate, it will be verified (and rejected if it is not valid). If the client does not offer a certificate, the connection will succeed.
The application can retrieve the certificate, if any, with rustls_connection_get_peer_certificate.