summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2016-06-19 18:14:58 +0200
committerRich Salz <rsalz@openssl.org>2016-07-25 14:20:00 +0200
commitc17dd597ac5ac687b4cc7b585d7f8fb0cf987a20 (patch)
tree937a0745b12aad13fdf5e816607e68b0db2e7a9a /include
parentConstify engine/eng_cnf.c internal method. (diff)
downloadopenssl-c17dd597ac5ac687b4cc7b585d7f8fb0cf987a20.tar.xz
openssl-c17dd597ac5ac687b4cc7b585d7f8fb0cf987a20.zip
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.h2
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);