Loading openssl-sys/src/x509.rs +1 −1 Original line number Diff line number Diff line Loading @@ -85,7 +85,7 @@ cfg_if! { } else { #[repr(C)] pub struct X509_OBJECT { pub type_: X509_LOOKUP_TYPE, pub type_: c_int, pub data: X509_OBJECT_data, } #[repr(C)] Loading systest/build.rs +5 −2 Original line number Diff line number Diff line Loading @@ -97,7 +97,9 @@ fn main() { || s == "bio_info_cb" || s.starts_with("CRYPTO_EX_") }); cfg.skip_struct(|s| s == "ProbeResult"); cfg.skip_struct(|s| { s == "ProbeResult" || s == "X509_OBJECT_data" // inline union }); cfg.skip_fn(move |s| { s == "CRYPTO_memcmp" || // uses volatile Loading @@ -114,7 +116,8 @@ fn main() { }); cfg.skip_field_type(|s, field| { (s == "EVP_PKEY" && field == "pkey") || // union (s == "GENERAL_NAME" && field == "d") // union (s == "GENERAL_NAME" && field == "d") || // union (s == "X509_OBJECT" && field == "data") // union }); cfg.skip_signededness(|s| { s.ends_with("_cb") Loading Loading
openssl-sys/src/x509.rs +1 −1 Original line number Diff line number Diff line Loading @@ -85,7 +85,7 @@ cfg_if! { } else { #[repr(C)] pub struct X509_OBJECT { pub type_: X509_LOOKUP_TYPE, pub type_: c_int, pub data: X509_OBJECT_data, } #[repr(C)] Loading
systest/build.rs +5 −2 Original line number Diff line number Diff line Loading @@ -97,7 +97,9 @@ fn main() { || s == "bio_info_cb" || s.starts_with("CRYPTO_EX_") }); cfg.skip_struct(|s| s == "ProbeResult"); cfg.skip_struct(|s| { s == "ProbeResult" || s == "X509_OBJECT_data" // inline union }); cfg.skip_fn(move |s| { s == "CRYPTO_memcmp" || // uses volatile Loading @@ -114,7 +116,8 @@ fn main() { }); cfg.skip_field_type(|s, field| { (s == "EVP_PKEY" && field == "pkey") || // union (s == "GENERAL_NAME" && field == "d") // union (s == "GENERAL_NAME" && field == "d") || // union (s == "X509_OBJECT" && field == "data") // union }); cfg.skip_signededness(|s| { s.ends_with("_cb") Loading