diff options
author | Steven Fackler <sfackler@gmail.com> | 2021-02-28 21:22:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-28 21:22:14 -0500 |
commit | cfbe5d48a0a43a6282eed7da625387b6b059f086 (patch) | |
tree | bd8a4cdb643e8066ed9a319d8b7c6c351e793f97 /openssl-sys | |
parent | 9872a5dd7f476170372b9e119b8a6b681396b434 (diff) | |
parent | 15863bbf6f8c28de2a57ff0ad8f33449415f7eaa (diff) | |
download | rust-openssl-cfbe5d48a0a43a6282eed7da625387b6b059f086.zip |
Merge pull request #1420 from cmars/PKCS7_get0_signers
Add PKCS7_get0_signers as pkcs7::Pkcs7::signers.
Diffstat (limited to 'openssl-sys')
-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, |