diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2016-06-19 18:14:58 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-07-25 08:20:00 -0400 |
commit | c17dd597ac5ac687b4cc7b585d7f8fb0cf987a20 (patch) | |
tree | 937a0745b12aad13fdf5e816607e68b0db2e7a9a /include | |
parent | b4bb825fff2024b6d17f9ec04b2a5b99e89cc7ac (diff) |
Constify CMS_decrypt_set1_key input buffer
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1300)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/cms.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/cms.h b/include/openssl/cms.h index dbc27e5562..85cebf0dc3 100644 --- a/include/openssl/cms.h +++ b/include/openssl/cms.h @@ -144,7 +144,7 @@ int CMS_decrypt(CMS_ContentInfo *cms, EVP_PKEY *pkey, X509 *cert, int CMS_decrypt_set1_pkey(CMS_ContentInfo *cms, EVP_PKEY *pk, X509 *cert); int CMS_decrypt_set1_key(CMS_ContentInfo *cms, unsigned char *key, size_t keylen, - unsigned char *id, size_t idlen); + const unsigned char *id, size_t idlen); int CMS_decrypt_set1_password(CMS_ContentInfo *cms, unsigned char *pass, ossl_ssize_t passlen); |