Commit 98f91769 authored by Charlie Li's avatar Charlie Li
Browse files

Add missing any() in the {,D}TLS_method usage logic.

parent f0b8a2e4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1057,7 +1057,7 @@ extern "C" {
}

cfg_if! {
    if #[cfg(ossl110, libressl291)] {
    if #[cfg(any(ossl110, libressl291))] {
        extern "C" {
            pub fn TLS_method() -> *const SSL_METHOD;

+1 −1
Original line number Diff line number Diff line
@@ -3831,7 +3831,7 @@ cfg_if! {
}

cfg_if! {
    if #[cfg(ossl110, libressl291)] {
    if #[cfg(any(ossl110, libressl291))] {
        use ffi::{TLS_method, DTLS_method};

        unsafe fn get_new_idx(f: ffi::CRYPTO_EX_free) -> c_int {