Skip to content

Commit

Permalink
Merge pull request #1648 from BiagioFesta/wip/bfesta/invalid-ca-errno-v3
Browse files Browse the repository at this point in the history
openss-sys: define X509_V_ERR_INVALID_CA errno for openssl v3
  • Loading branch information
sfackler authored May 31, 2022
2 parents 2c73dd9 + bd25c2b commit 967cb85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openssl-sys/src/x509_vfy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ cfg_if! {
pub const X509_V_ERR_PROXY_SUBJECT_NAME_VIOLATION: c_int = 67;
}
}
#[cfg(ossl300)]
pub const X509_V_ERR_INVALID_CA: c_int = 79;

#[cfg(not(ossl110))]
pub const X509_V_FLAG_CB_ISSUER_CHECK: c_ulong = 0x1;
Expand Down

0 comments on commit 967cb85

Please sign in to comment.