Skip to content

Commit

Permalink
X509_V_FLAG_CB_ISSUER_CHECK deprecated in LibreSSL 3.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vishwin committed Dec 17, 2022
1 parent 8178f3b commit fda7d92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openssl-sys/src/x509_vfy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ cfg_if! {
#[cfg(ossl300)]
pub const X509_V_ERR_INVALID_CA: c_int = 79;

#[cfg(not(ossl110))]
#[cfg(not(any(ossl110, libressl370)))]
pub const X509_V_FLAG_CB_ISSUER_CHECK: c_ulong = 0x1;
#[cfg(ossl110)]
#[cfg(any(ossl110, libressl370))]
pub const X509_V_FLAG_CB_ISSUER_CHECK: c_ulong = 0x0;
pub const X509_V_FLAG_USE_CHECK_TIME: c_ulong = 0x2;
pub const X509_V_FLAG_CRL_CHECK: c_ulong = 0x4;
Expand Down

0 comments on commit fda7d92

Please sign in to comment.