Loading openssl-sys/src/handwritten/x509.rs +16 −10 Original line number Diff line number Diff line Loading @@ -687,6 +687,10 @@ extern "C" { pub fn X509_REQ_print(bio: *mut BIO, req: *mut X509_REQ) -> c_int; } cfg_if! { if #[cfg(libressl390)] { pub enum X509_PURPOSE {} } else { #[repr(C)] pub struct X509_PURPOSE { pub purpose: c_int, Loading @@ -698,6 +702,8 @@ pub struct X509_PURPOSE { pub sname: *mut c_char, pub usr_data: *mut c_void, } } } const_ptr_api! { extern "C" { Loading Loading
openssl-sys/src/handwritten/x509.rs +16 −10 Original line number Diff line number Diff line Loading @@ -687,6 +687,10 @@ extern "C" { pub fn X509_REQ_print(bio: *mut BIO, req: *mut X509_REQ) -> c_int; } cfg_if! { if #[cfg(libressl390)] { pub enum X509_PURPOSE {} } else { #[repr(C)] pub struct X509_PURPOSE { pub purpose: c_int, Loading @@ -698,6 +702,8 @@ pub struct X509_PURPOSE { pub sname: *mut c_char, pub usr_data: *mut c_void, } } } const_ptr_api! { extern "C" { Loading