Add missing any() in the {,D}TLS_method usage logic.
This commit is contained in:
parent
f0b8a2e467
commit
98f91769e3
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue