aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys/src/libressl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openssl-sys/src/libressl.rs')
-rw-r--r--openssl-sys/src/libressl.rs17
1 files changed, 17 insertions, 0 deletions
diff --git a/openssl-sys/src/libressl.rs b/openssl-sys/src/libressl.rs
index 1bb17849..197d2c22 100644
--- a/openssl-sys/src/libressl.rs
+++ b/openssl-sys/src/libressl.rs
@@ -305,6 +305,23 @@ pub struct X509_VAL {
}
#[repr(C)]
+pub struct X509_REQ_INFO {
+ pub enc: ASN1_ENCODING,
+ pub version: *mut ::ASN1_INTEGER,
+ pub subject: *mut ::X509_NAME,
+ pubkey: *mut c_void,
+ pub attributes: *mut stack_st_X509_ATTRIBUTE
+}
+
+#[repr(C)]
+pub struct X509_REQ {
+ pub req_info: *mut X509_REQ_INFO,
+ sig_alg: *mut c_void,
+ signature: *mut c_void,
+ references: c_int
+}
+
+#[repr(C)]
pub struct SSL {
version: c_int,
type_: c_int,