constify *_dup() and *i2d_*() and related functions as far as possible, introducing...
[openssl.git] / crypto / pkcs7 / pk7_lib.c
index 6379e63787b59d212683456152e97ce177968bd4..181fb5a5a19a0edd6096a123026cfc60fc90b5e1 100644 (file)
@@ -544,6 +544,7 @@ int PKCS7_set_cipher(PKCS7 *p7, const EVP_CIPHER *cipher)
     return 1;
 }
 
+/* unfortunately cannot constify BIO_new_NDEF() due to this and CMS_stream() */
 int PKCS7_stream(unsigned char ***boundary, PKCS7 *p7)
 {
     ASN1_OCTET_STRING *os = NULL;