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

This commit is contained in:
Charlie Li 2019-04-24 19:27:05 -04:00
parent f0b8a2e467
commit 98f91769e3
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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 {