pub fn try_init_ssl_cert_env_vars() -> bool {
    let ProbeResult { cert_file, cert_dir } = probe();
    // we won't be overwriting existing env variables because if they're valid probe() will have
    // returned them unchanged
    if let Some(path) = &cert_file {
        env::set_var(ENV_CERT_FILE, path);
    }
    if let Some(path) = &cert_dir {
        env::set_var(ENV_CERT_DIR, path);
    }

    cert_file.is_some() || cert_dir.is_some()
}
/// Probe for SSL certificates on the system, then configure the SSL certificate `SSL_CERT_FILE`
/// and `SSL_CERT_DIR` environment variables in this process for OpenSSL to use.
///
/// Preconfigured values in the environment variables will not be overwritten if the paths they
/// point to exist and are accessible.
///
/// Returns `true` if any certificate file or directory was found while probing.
/// Combine this with `has_ssl_cert_env_vars()` to check whether previously configured environment
/// variables are valid.
Probe for SSL certificates on the system, then configure the SSL certificate `SSL_CERT_FILE`
and `SSL_CERT_DIR` environment variables in this process for OpenSSL to use.

Preconfigured values in the environment variables will not be overwritten if the paths they
point to exist and are accessible.

Returns `true` if any certificate file or directory was found while probing.
Combine this with `has_ssl_cert_env_vars()` to check whether previously configured environment
variables are valid.
Probe for SSL certificates on the system then configure the SSL certificate ` SSL_CERT_FILE ` and ` SSL_CERT_DIR ` environment variables in this process for OpenSSL to use . Preconfigured values in the environment variables will not be overwritten if the paths they point to exist and are accessible . Returns ` true ` if any certificate file or directory was found while probing . Combine this with ` has_ssl_cert_env_vars () ` to check whether previously configured environment variables are valid .
pub fn try_init_ssl_cert_env_vars() -> bool {
    let ProbeResult { cert_file, cert_dir } = probe();
    // we won't be overwriting existing env variables because if they're valid probe() will have
    // returned them unchanged
    if let Some(path) = &cert_file {
        env::set_var(ENV_CERT_FILE, path);
    }
    if let Some(path) = &cert_dir {
        env::set_var(ENV_CERT_DIR, path);
    }
    cert_file.is_some() || cert_dir.is_some()
}
pub fn try_init_ssl_cert_env_vars ( ) -> bool { let ProbeResult { cert_file , cert_dir } = probe ( ) ; // we won't be overwriting existing env variables because if they're valid probe() will have // returned them unchanged if let Some ( path ) = & cert_file { env :: set_var ( ENV_CERT_FILE , path ) ; } if let Some ( path ) = & cert_dir { env :: set_var ( ENV_CERT_DIR , path ) ; } cert_file . is_some ( ) || cert_dir . is_some ( ) }
Probe for SSL certificates on the system, then configure the SSL certificate `SSL_CERT_FILE`
and `SSL_CERT_DIR` environment variables in this process for OpenSSL to use.
Probe for SSL certificates on the system then configure the SSL certificate ` SSL_CERT_FILE ` and ` SSL_CERT_DIR ` environment variables in this process for OpenSSL to use .