Skip to content

Commit

Permalink
Merge pull request #2060 from botovq/opaque-x509_algor
Browse files Browse the repository at this point in the history
Make X509_ALGOR opaque for LibreSSL
  • Loading branch information
alex committed Oct 20, 2023
2 parents ade74ca + 35c8e90 commit 753811d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions openssl-sys/build/cfgs.rs
Expand Up @@ -56,6 +56,9 @@ pub fn get(openssl_version: Option<u64>, libressl_version: Option<u64>) -> Vec<&
if libressl_version >= 0x3_08_01_00_0 {
cfgs.push("libressl381");
}
if libressl_version >= 0x3_08_02_00_0 {
cfgs.push("libressl382");
}
} else {
let openssl_version = openssl_version.unwrap();

Expand Down
2 changes: 1 addition & 1 deletion openssl-sys/src/handwritten/types.rs
Expand Up @@ -329,7 +329,7 @@ cfg_if! {
}
}
cfg_if! {
if #[cfg(ossl110)] {
if #[cfg(any(ossl110, libressl382))] {
pub enum X509_ALGOR {}
} else {
#[repr(C)]
Expand Down

0 comments on commit 753811d

Please sign in to comment.