summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/cms/cms_io.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/cms/cms_io.c b/src/lib/libcrypto/cms/cms_io.c
index ef1bc4bc4d..38e76e0c2e 100644
--- a/src/lib/libcrypto/cms/cms_io.c
+++ b/src/lib/libcrypto/cms/cms_io.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: cms_io.c,v 1.18 2023/04/25 19:08:30 tb Exp $ */ 1/* $OpenBSD: cms_io.c,v 1.19 2023/04/26 14:23:18 tb Exp $ */
2/* 2/*
3 * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 3 * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
4 * project. 4 * project.
@@ -132,7 +132,8 @@ BIO_new_CMS(BIO *out, CMS_ContentInfo *cms)
132 132
133/* CMS wrappers round generalised stream and MIME routines */ 133/* CMS wrappers round generalised stream and MIME routines */
134 134
135int i2d_CMS_bio_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, int flags) 135int
136i2d_CMS_bio_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, int flags)
136{ 137{
137 return i2d_ASN1_bio_stream(out, (ASN1_VALUE *)cms, in, flags, 138 return i2d_ASN1_bio_stream(out, (ASN1_VALUE *)cms, in, flags,
138 &CMS_ContentInfo_it); 139 &CMS_ContentInfo_it);