diff options
| author | Umang Raghuvanshi <[email protected]> | 2018-04-20 17:30:20 +0530 |
|---|---|---|
| committer | Umang Raghuvanshi <[email protected]> | 2018-04-20 17:30:20 +0530 |
| commit | 5360f5ad04ff879cce1c4bbd32b076841324dcd3 (patch) | |
| tree | da91f7220a5fd2f23b0c8844482512e778a92f13 /openssl-sys | |
| parent | Add the CMS_sign and i2d_CMS_ContentInfo function bindings (diff) | |
| download | rust-openssl-5360f5ad04ff879cce1c4bbd32b076841324dcd3.tar.xz rust-openssl-5360f5ad04ff879cce1c4bbd32b076841324dcd3.zip | |
Fix mutability issues with CMS_sign
Diffstat (limited to 'openssl-sys')
| -rw-r--r-- | openssl-sys/src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index 42bd8268..e5330b93 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -2848,9 +2848,9 @@ extern "C" { pub fn CMS_ContentInfo_free(cms: *mut CMS_ContentInfo); #[cfg(not(libressl))] pub fn CMS_sign( - signcert: *const X509, - pkey: *const EVP_PKEY, - certs: *const stack_st_X509, + signcert: *mut X509, + pkey: *mut EVP_PKEY, + certs: *mut stack_st_X509, data: *mut BIO, flags: c_uint, ) -> *mut CMS_ContentInfo; |