Skip to content

Commit 1c219d1

Browse files
committed
fix macos
1 parent ded0633 commit 1c219d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# rust-native-tls
22

3-
[![CircleCI](https://circleci.com/gh/sfackler/rust-native-tls.svg?style=shield)](https://circleci.com/gh/sfackler/rust-native-tls)
4-
53
[Documentation](https://docs.rs/native-tls)
64

75
An abstraction over platform-specific TLS implementations.

src/imp/security_framework.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ pub struct TlsConnector {
264264
danger_accept_invalid_hostnames: bool,
265265
danger_accept_invalid_certs: bool,
266266
disable_built_in_roots: bool,
267+
#[cfg(feature = "alpn")]
267268
alpn: Vec<String>,
268269
}
269270

@@ -282,6 +283,7 @@ impl TlsConnector {
282283
danger_accept_invalid_hostnames: builder.accept_invalid_hostnames,
283284
danger_accept_invalid_certs: builder.accept_invalid_certs,
284285
disable_built_in_roots: builder.disable_built_in_roots,
286+
#[cfg(feature = "alpn")]
285287
alpn: builder.alpn.clone(),
286288
})
287289
}

0 commit comments

Comments
 (0)