Skip X509_OBJECT_data systests
This commit is contained in:
parent
0769ca54fd
commit
59bff6de85
|
|
@ -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)]
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue