Unverified Commit 59bff6de authored by Noah's avatar Noah
Browse files

Skip X509_OBJECT_data systests

parent 0769ca54
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)]
+5 −2
Original line number Diff line number Diff line
@@ -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

@@ -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")