Skip to content

Commit

Permalink
bugfix: fix minimum build options
Browse files Browse the repository at this point in the history
  • Loading branch information
Yiming Jing committed Apr 25, 2019
1 parent 038cef3 commit 61ee86c
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 35 deletions.
71 changes: 39 additions & 32 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -50,7 +50,7 @@ jemallocator = { version = "0.3.0", optional = true }

[dependencies.rustls]
git = "https://github.com/mesalock-linux/rustls"
tag = "v1.0.0"
branch = "mesalink"
default-features = false

[dependencies.webpki]
Expand Down
2 changes: 0 additions & 2 deletions src/libssl/ssl.rs
Expand Up @@ -2553,10 +2553,8 @@ mod util {
pub(crate) const CONST_TLS12_STR: &[u8] = b"TLS1.2\0";
pub const CONST_TLS13_STR: &[u8] = b"TLS1.3\0";

#[cfg(feature = "server_apis")]
use rustls;

#[cfg(feature = "server_apis")]
pub fn try_get_context_certs_and_key(
ctx: &mut ssl::MESALINK_CTX_ARC,
) -> Result<(Vec<rustls::Certificate>, rustls::PrivateKey), ()> {
Expand Down

0 comments on commit 61ee86c

Please sign in to comment.