Skip to content

Commit

Permalink
Expose defines that have actually been present in every LibreSSL version
Browse files Browse the repository at this point in the history
  • Loading branch information
vishwin committed May 6, 2022
1 parent d63542a commit cb97cd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openssl-sys/src/ssl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ use std::ptr;

use *;

#[cfg(not(any(libressl, ossl110)))]
#[cfg(not(ossl110))]
pub const SSL_MAX_KRB5_PRINCIPAL_LENGTH: c_int = 256;

#[cfg(not(ossl110))]
pub const SSL_MAX_SSL_SESSION_ID_LENGTH: c_int = 32;
#[cfg(not(ossl110))]
pub const SSL_MAX_SID_CTX_LENGTH: c_int = 32;

#[cfg(not(any(libressl, ossl110)))]
#[cfg(not(ossl110))]
pub const SSL_MAX_KEY_ARG_LENGTH: c_int = 8;
#[cfg(not(ossl110))]
pub const SSL_MAX_MASTER_KEY_LENGTH: c_int = 48;
Expand Down

0 comments on commit cb97cd8

Please sign in to comment.