/// Add CA certificates from a given path.
Add CA certificates from a given path.
Add CA certificates from a given path .
fn add_ca_certificates(&mut self, path: &str) {
        utils::result_or_error(load_ca_certificates(
            &mut self.ssl_context, path),
            EXIT_CODE_CERT_ERROR,
            format!("unable to load certificate(s) from \"{}\"", path));
    }
fn add_ca_certificates ( & mut self , path : & str ) { utils :: result_or_error ( load_ca_certificates ( & mut self . ssl_context , path ) , EXIT_CODE_CERT_ERROR , format ! ( " \" \" " path ) ) ; }
Add CA certificates from a given path.
Add CA certificates from a given path .
&mut self
path
&str