Skip to content

Commit 6caffe9

Browse files
committed
fix(proxy): fix the 0.9.x build with --no-default-features --features=security-framework
The build on OS X was broken in this configuration. Fixes #819
1 parent c7a513e commit 6caffe9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/client/proxy.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub fn tunnel(proxy: (Cow<'static, str>, u16)) -> Proxy<HttpConnector, ::net::Op
1616
}
1717

1818
#[cfg(feature = "security-framework")]
19-
pub fn tunnel(proxy: (Cow<'static, str>, u16)) -> Proxy<HttpConnector, ::net::Openssl> {
19+
pub fn tunnel(proxy: (Cow<'static, str>, u16)) -> Proxy<HttpConnector, ::net::ClientWrapper> {
2020
Proxy {
2121
connector: HttpConnector,
2222
proxy: proxy,

src/net.rs

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ use std::mem;
88
#[cfg(feature = "openssl")]
99
pub use self::openssl::{Openssl, OpensslClient};
1010

11+
#[cfg(feature = "security-framework")]
12+
pub use self::security_framework::ClientWrapper;
13+
1114
use std::time::Duration;
1215

1316
use typeable::Typeable;

0 commit comments

Comments
 (0)