alexcrichton / openssl-probe

Apache License 2.0
54 stars 13 forks source link

openssl-probe

Tool for helping to find SSL certificate locations on the system for OpenSSL

Crates.io docs.rs

Usage

First, add this to your Cargo.toml:

[dependencies]
openssl-probe = "0.1.2"

Then add this to your crate:

extern crate openssl_probe;

fn main() {
    openssl_probe::init_ssl_cert_env_vars();
    //... your code
}

License

openssl-probe is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.

See LICENSE-APACHE, and LICENSE-MIT for details.