Skip to content

Commit

Permalink
fix conditions on includes
Browse files Browse the repository at this point in the history
  • Loading branch information
HolyShitMan committed May 17, 2024
1 parent 1af1a27 commit 121ae76
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions openssl/src/ssl/connector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ use std::ops::{Deref, DerefMut};

use crate::dh::Dh;
use crate::error::ErrorStack;
#[cfg(not(ossl111))]
#[cfg(not(libressl340))]
use crate::error::X509D2iError;
#[cfg(any(ossl111, libressl340))]
use crate::ssl::SslVersion;
#[cfg(any(ossl111, libressl340))]
use crate::error::X509D2iError;
use crate::ssl::{
HandshakeError, Ssl, SslContext, SslContextBuilder, SslContextRef, SslMethod, SslMode,
SslOptions, SslRef, SslStream, SslVerifyMode,
Expand Down

0 comments on commit 121ae76

Please sign in to comment.