pingora_boringssl::ext

Function ssl_use_private_key

Source
pub fn ssl_use_private_key<T>(
    ssl: &mut SslRef,
    key: &PKeyRef<T>,
) -> Result<(), ErrorStack>
where T: HasPrivate,
Expand description

Load the private key into ssl

See SSL_use_certificate.