Loading .circleci/config.yml +2 −2 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ jobs: default: false image: type: string default: 1.34.0 default: 1.36.0 minimal_build: type: boolean default: false Loading Loading @@ -175,7 +175,7 @@ jobs: default: false image: type: string default: 1.34.0 default: 1.36.0 macos: xcode: "12.2.0" environment: Loading .github/workflows/ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -63,7 +63,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Install Rust run: rustup update --no-self-update 1.34.0 && rustup default 1.34.0 run: rustup update --no-self-update 1.36.0 && rustup default 1.36.0 - name: Get rust version id: rust-version run: echo "::set-output name=version::$(rustc --version)" Loading openssl/Cargo.toml +1 −1 Original line number Diff line number Diff line Loading @@ -22,8 +22,8 @@ vendored = ['openssl-sys/vendored'] bitflags = "1.0" cfg-if = "1.0" foreign-types = "0.3.1" lazy_static = "1" libc = "0.2" once_cell = "1.5.2" openssl-sys = { version = "0.9.60", path = "../openssl-sys" } Loading openssl/src/lib.rs +1 −2 Original line number Diff line number Diff line Loading @@ -116,9 +116,8 @@ extern crate bitflags; extern crate cfg_if; #[macro_use] extern crate foreign_types; #[macro_use] extern crate lazy_static; extern crate libc; extern crate once_cell; extern crate openssl_sys as ffi; #[cfg(test)] Loading openssl/src/ssl/connector.rs +3 −3 Original line number Diff line number Diff line Loading @@ -414,10 +414,10 @@ cfg_if! { GeneralName, X509NameRef, X509Ref, X509StoreContext, X509StoreContextRef, X509VerifyResult, }; use once_cell::sync::Lazy; lazy_static! { pub static ref HOSTNAME_IDX: Index<Ssl, String> = Ssl::new_ex_index().unwrap(); } pub static HOSTNAME_IDX: Lazy<Index<Ssl, String>> = Lazy::new(|| Ssl::new_ex_index().unwrap()); pub fn verify_callback(preverify_ok: bool, x509_ctx: &mut X509StoreContextRef) -> bool { if !preverify_ok || x509_ctx.error_depth() != 0 { Loading Loading
.circleci/config.yml +2 −2 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ jobs: default: false image: type: string default: 1.34.0 default: 1.36.0 minimal_build: type: boolean default: false Loading Loading @@ -175,7 +175,7 @@ jobs: default: false image: type: string default: 1.34.0 default: 1.36.0 macos: xcode: "12.2.0" environment: Loading
.github/workflows/ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -63,7 +63,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Install Rust run: rustup update --no-self-update 1.34.0 && rustup default 1.34.0 run: rustup update --no-self-update 1.36.0 && rustup default 1.36.0 - name: Get rust version id: rust-version run: echo "::set-output name=version::$(rustc --version)" Loading
openssl/Cargo.toml +1 −1 Original line number Diff line number Diff line Loading @@ -22,8 +22,8 @@ vendored = ['openssl-sys/vendored'] bitflags = "1.0" cfg-if = "1.0" foreign-types = "0.3.1" lazy_static = "1" libc = "0.2" once_cell = "1.5.2" openssl-sys = { version = "0.9.60", path = "../openssl-sys" } Loading
openssl/src/lib.rs +1 −2 Original line number Diff line number Diff line Loading @@ -116,9 +116,8 @@ extern crate bitflags; extern crate cfg_if; #[macro_use] extern crate foreign_types; #[macro_use] extern crate lazy_static; extern crate libc; extern crate once_cell; extern crate openssl_sys as ffi; #[cfg(test)] Loading
openssl/src/ssl/connector.rs +3 −3 Original line number Diff line number Diff line Loading @@ -414,10 +414,10 @@ cfg_if! { GeneralName, X509NameRef, X509Ref, X509StoreContext, X509StoreContextRef, X509VerifyResult, }; use once_cell::sync::Lazy; lazy_static! { pub static ref HOSTNAME_IDX: Index<Ssl, String> = Ssl::new_ex_index().unwrap(); } pub static HOSTNAME_IDX: Lazy<Index<Ssl, String>> = Lazy::new(|| Ssl::new_ex_index().unwrap()); pub fn verify_callback(preverify_ok: bool, x509_ctx: &mut X509StoreContextRef) -> bool { if !preverify_ok || x509_ctx.error_depth() != 0 { Loading