Skip to content

Commit

Permalink
Expose NO_TLSV1_3 for LibreSSL 3.2.1 and later
Browse files Browse the repository at this point in the history
  • Loading branch information
vishwin committed Dec 6, 2020
1 parent ebc5779 commit 8e585e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openssl/src/ssl/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ bitflags! {

/// Disables the use of TLSv1.3.
///
/// Requires OpenSSL 1.1.1 or newer.
#[cfg(ossl111)]
/// Requires OpenSSL 1.1.1 or LibreSSL 3.2.1 or newer.
#[cfg(any(ossl111, libressl321))]
const NO_TLSV1_3 = ffi::SSL_OP_NO_TLSv1_3;

/// Disables the use of DTLSv1.0
Expand Down

0 comments on commit 8e585e2

Please sign in to comment.