Skip to content

Commit

Permalink
Make X509_ALGOR opaque for LibreSSL
Browse files Browse the repository at this point in the history
The struct is still public because that is also the case in OpenSSL, but
it should no longer be accessed directly.
  • Loading branch information
botovq committed Oct 19, 2023
1 parent ade74ca commit 9fadd6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openssl-sys/src/handwritten/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ cfg_if! {
}
}
cfg_if! {
if #[cfg(ossl110)] {
if #[cfg(any(ossl110, libressl350))] {
pub enum X509_ALGOR {}
} else {
#[repr(C)]
Expand Down

0 comments on commit 9fadd6f

Please sign in to comment.