Function probe

Source
pub fn probe() -> ProbeResult
Expand description

Probe the current system for the “cert file” and “cert dir” variables that OpenSSL typically requires.

The probe result is returned as a ProbeResult structure here.

Examples found in repository?
examples/probe.rs (line 2)
1fn main() {
2    let r = openssl_probe::probe();
3
4    println!("cert_dir: {:?}", r.cert_dir);
5    println!("cert_file: {:?}", r.cert_file);
6}