1use libc::*;
2
3use super::*;
4
5cfg_if! {
6 if #[cfg(any(ossl110, libressl280))] {
7 pub enum EVP_PKEY {}
8 } else {
9 #[repr(C)]
10 pub struct EVP_PKEY {
11 pub type_: c_int,
12 pub save_type: c_int,
13 pub references: c_int,
14 pub ameth: *const EVP_PKEY_ASN1_METHOD,
15 pub engine: *mut ENGINE,
16 pub pkey: *mut c_void,
17 pub save_parameters: c_int,
18 pub attributes: *mut stack_st_X509_ATTRIBUTE,
19 }
20 }
21}
22