summaryrefslogtreecommitdiffstats
path: root/crypto/cms/cms_io.c
diff options
context:
space:
mode:
authorDavid von Oheimb <David.von.Oheimb@siemens.com>2019-01-15 21:51:25 +0100
committerMatt Caswell <matt@openssl.org>2019-03-06 17:10:09 +0100
commit9fdcc21fdc9d148f78d9cd5be34030f38cc45812 (patch)
tree20cba464edf2befc97c1888631dd782cba830c89 /crypto/cms/cms_io.c
parentUpdate ChaCha20-Poly1305 documentation (diff)
downloadopenssl-9fdcc21fdc9d148f78d9cd5be34030f38cc45812.tar.xz
openssl-9fdcc21fdc9d148f78d9cd5be34030f38cc45812.zip
constify *_dup() and *i2d_*() and related functions as far as possible, introducing DECLARE_ASN1_DUP_FUNCTION
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8029)
Diffstat (limited to 'crypto/cms/cms_io.c')
-rw-r--r--crypto/cms/cms_io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/cms/cms_io.c b/crypto/cms/cms_io.c
index ad418844df..f3b58740be 100644
--- a/crypto/cms/cms_io.c
+++ b/crypto/cms/cms_io.c
@@ -14,6 +14,7 @@
#include <openssl/cms.h>
#include "cms_lcl.h"
+/* unfortunately cannot constify BIO_new_NDEF() due to this and PKCS7_stream() */
int CMS_stream(unsigned char ***boundary, CMS_ContentInfo *cms)
{
ASN1_OCTET_STRING **pos;