diff options
author | Casey Marshall <git@cmars.tech> | 2021-02-28 13:22:37 -0600 |
---|---|---|
committer | Casey Marshall <git@cmars.tech> | 2021-02-28 18:51:01 -0600 |
commit | 15863bbf6f8c28de2a57ff0ad8f33449415f7eaa (patch) | |
tree | bd8a4cdb643e8066ed9a319d8b7c6c351e793f97 /openssl-sys/src/pkcs7.rs | |
parent | 9872a5dd7f476170372b9e119b8a6b681396b434 (diff) | |
download | rust-openssl-15863bbf6f8c28de2a57ff0ad8f33449415f7eaa.zip |
Add PKCS7_get0_signers as pkcs7::Pkcs7::signers.
Diffstat (limited to 'openssl-sys/src/pkcs7.rs')
-rw-r--r-- | openssl-sys/src/pkcs7.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openssl-sys/src/pkcs7.rs b/openssl-sys/src/pkcs7.rs index 5aa55ff8..53e7e8ab 100644 --- a/openssl-sys/src/pkcs7.rs +++ b/openssl-sys/src/pkcs7.rs @@ -49,6 +49,12 @@ extern "C" { flags: c_int, ) -> c_int; + pub fn PKCS7_get0_signers( + pkcs7: *mut PKCS7, + certs: *mut stack_st_X509, + flags: c_int, + ) -> *mut stack_st_X509; + pub fn PKCS7_sign( signcert: *mut X509, pkey: *mut EVP_PKEY, |