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);
#[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;