Fix mutability issues with CMS_sign

This commit is contained in:
Umang Raghuvanshi 2018-04-20 17:30:20 +05:30
parent 8ce5dee00d
commit 5360f5ad04
1 changed files with 3 additions and 3 deletions

View File

@ -2848,9 +2848,9 @@ extern "C" {
pub fn CMS_ContentInfo_free(cms: *mut CMS_ContentInfo); pub fn CMS_ContentInfo_free(cms: *mut CMS_ContentInfo);
#[cfg(not(libressl))] #[cfg(not(libressl))]
pub fn CMS_sign( pub fn CMS_sign(
signcert: *const X509, signcert: *mut X509,
pkey: *const EVP_PKEY, pkey: *mut EVP_PKEY,
certs: *const stack_st_X509, certs: *mut stack_st_X509,
data: *mut BIO, data: *mut BIO,
flags: c_uint, flags: c_uint,
) -> *mut CMS_ContentInfo; ) -> *mut CMS_ContentInfo;