diff options
author | tb <> | 2023-04-21 19:08:47 +0000 |
---|---|---|
committer | tb <> | 2023-04-21 19:08:47 +0000 |
commit | a49066312b3346276f4a18ccaf1b4ceb8da13af5 (patch) | |
tree | 6b79d8d38d0b4d407b68f4811dfa408caa5f6608 /src/lib | |
parent | 0155dac48763d956dd69098e2dcc51f72a2b0a0c (diff) | |
download | openbsd-a49066312b3346276f4a18ccaf1b4ceb8da13af5.tar.gz openbsd-a49066312b3346276f4a18ccaf1b4ceb8da13af5.tar.bz2 openbsd-a49066312b3346276f4a18ccaf1b4ceb8da13af5.zip |
Unwrap a line
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/cms/cms_io.c | 5 |
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) | |||
123 | BIO * | 123 | BIO * |
124 | BIO_new_CMS(BIO *out, CMS_ContentInfo *cms) | 124 | BIO_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 */ |