diff --git a/src/lib.rs b/src/lib.rs index fd2db63432..bbc5dc3f62 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -759,6 +759,7 @@ fn init() { unix, not(target_os = "macos"), not(target_os = "ios"), + not(target_os = "freebsd"), feature = "https" ))] fn openssl_env_init() { @@ -880,6 +881,7 @@ fn openssl_env_init() { windows, target_os = "macos", target_os = "ios", + target_os = "freebsd", not(feature = "https") ))] fn openssl_env_init() {}