summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2023-04-21 19:08:47 +0000
committertb <>2023-04-21 19:08:47 +0000
commita49066312b3346276f4a18ccaf1b4ceb8da13af5 (patch)
tree6b79d8d38d0b4d407b68f4811dfa408caa5f6608 /src
parent0155dac48763d956dd69098e2dcc51f72a2b0a0c (diff)
downloadopenbsd-a49066312b3346276f4a18ccaf1b4ceb8da13af5.tar.gz
openbsd-a49066312b3346276f4a18ccaf1b4ceb8da13af5.tar.bz2
openbsd-a49066312b3346276f4a18ccaf1b4ceb8da13af5.zip
Unwrap a line
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/cms/cms_io.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/cms/cms_io.c b/src/lib/libcrypto/cms/cms_io.c
index 8a6b12e90f..b06a5047c8 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.12 2022/11/26 16:08:51 tb Exp $ */ 1/* $OpenBSD: cms_io.c,v 1.13 2023/04/21 19:08:47 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.
@@ -123,8 +123,7 @@ PEM_write_CMS(FILE *fp, const CMS_ContentInfo *x)
123BIO * 123BIO *
124BIO_new_CMS(BIO *out, CMS_ContentInfo *cms) 124BIO_new_CMS(BIO *out, CMS_ContentInfo *cms)
125{ 125{
126 return BIO_new_NDEF(out, (ASN1_VALUE *)cms, 126 return BIO_new_NDEF(out, (ASN1_VALUE *)cms, &CMS_ContentInfo_it);
127 &CMS_ContentInfo_it);
128} 127}
129 128
130/* CMS wrappers round generalised stream and MIME routines */ 129/* CMS wrappers round generalised stream and MIME routines */