diff options
| author | mredlek <[email protected]> | 2017-01-26 20:59:32 +0100 |
|---|---|---|
| committer | mredlek <[email protected]> | 2017-01-26 21:05:33 +0100 |
| commit | 557b936e27177718b62d31dcf3364f481bb15c2c (patch) | |
| tree | 5fe955c16e192434f30ed93b3ff968ca9c7d3c6a /openssl-sys/src/libressl.rs | |
| parent | Merge pull request #566 from sfackler/pkcs12-tweaks (diff) | |
| download | rust-openssl-557b936e27177718b62d31dcf3364f481bb15c2c.tar.xz rust-openssl-557b936e27177718b62d31dcf3364f481bb15c2c.zip | |
Added X509ReqRef.subject_name and X509ReqRef.version
Diffstat (limited to 'openssl-sys/src/libressl.rs')
| -rw-r--r-- | openssl-sys/src/libressl.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/openssl-sys/src/libressl.rs b/openssl-sys/src/libressl.rs index 2862a47e..0767df0d 100644 --- a/openssl-sys/src/libressl.rs +++ b/openssl-sys/src/libressl.rs @@ -299,6 +299,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, + pub pubkey: *mut c_void, + pub attributes: *mut stack_st_X509_ATTRIBUTE +} + +#[repr(C)] +pub struct X509_REQ { + pub req_info: *mut X509_REQ_INFO, + pub sig_alg: *mut c_void, + pub signature: *mut c_void, + references: c_int +} + +#[repr(C)] pub struct SSL { version: c_int, type_: c_int, |