Skip to content

Commit 3e3e036

Browse files
committed
Merge pull request #820 from luser/fix-security-framework-0.9.x
Fix 0.9.x build with `--no-default-features --features=security-framework`
2 parents c7a513e + 6caffe9 commit 3e3e036

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/client/proxy.rs

Lines changed: 1 addition & 1 deletion
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

Lines changed: 3 additions & 0 deletions
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)