projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
constify *_dup() and *i2d_*() and related functions as far as possible, introducing...
[openssl.git]
/
crypto
/
cms
/
cms_lib.c
diff --git
a/crypto/cms/cms_lib.c
b/crypto/cms/cms_lib.c
index c092341f17a7a50ff6c137241464370c636d97d4..29eacce2eadc30437d792c89362368087d68b7d1 100644
(file)
--- a/
crypto/cms/cms_lib.c
+++ b/
crypto/cms/cms_lib.c
@@
-104,6
+104,7
@@
BIO *CMS_dataInit(CMS_ContentInfo *cms, BIO *icont)
}
+/* unfortunately cannot constify SMIME_write_ASN1() due to this function */
int CMS_dataFinal(CMS_ContentInfo *cms, BIO *cmsbio)
{
ASN1_OCTET_STRING **pos = CMS_get0_content(cms);