diff options
author | tb <> | 2023-04-21 20:08:23 +0000 |
---|---|---|
committer | tb <> | 2023-04-21 20:08:23 +0000 |
commit | ddf965524bebe7c3b50fc0b434dd1680129d4ef2 (patch) | |
tree | 7b499377a337a69e5aecc1fbc3b0f0709037697d /src/lib | |
parent | a49066312b3346276f4a18ccaf1b4ceb8da13af5 (diff) | |
download | openbsd-ddf965524bebe7c3b50fc0b434dd1680129d4ef2.tar.gz openbsd-ddf965524bebe7c3b50fc0b434dd1680129d4ef2.tar.bz2 openbsd-ddf965524bebe7c3b50fc0b434dd1680129d4ef2.zip |
Rewrap some lines. No binary change
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/cms/cms_io.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/libcrypto/cms/cms_io.c b/src/lib/libcrypto/cms/cms_io.c index b06a5047c8..c8c4791d28 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.13 2023/04/21 19:08:47 tb Exp $ */ | 1 | /* $OpenBSD: cms_io.c,v 1.14 2023/04/21 20:08:23 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. |
@@ -95,29 +95,29 @@ i2d_CMS_bio(BIO *bp, CMS_ContentInfo *cms) | |||
95 | CMS_ContentInfo * | 95 | CMS_ContentInfo * |
96 | PEM_read_bio_CMS(BIO *bp, CMS_ContentInfo **x, pem_password_cb *cb, void *u) | 96 | PEM_read_bio_CMS(BIO *bp, CMS_ContentInfo **x, pem_password_cb *cb, void *u) |
97 | { | 97 | { |
98 | return PEM_ASN1_read_bio((d2i_of_void *)d2i_CMS_ContentInfo, PEM_STRING_CMS, bp, | 98 | return PEM_ASN1_read_bio((d2i_of_void *)d2i_CMS_ContentInfo, |
99 | (void **)x, cb, u); | 99 | PEM_STRING_CMS, bp, (void **)x, cb, u); |
100 | } | 100 | } |
101 | 101 | ||
102 | CMS_ContentInfo * | 102 | CMS_ContentInfo * |
103 | PEM_read_CMS(FILE *fp, CMS_ContentInfo **x, pem_password_cb *cb, void *u) | 103 | PEM_read_CMS(FILE *fp, CMS_ContentInfo **x, pem_password_cb *cb, void *u) |
104 | { | 104 | { |
105 | return PEM_ASN1_read((d2i_of_void *)d2i_CMS_ContentInfo, PEM_STRING_CMS, fp, | 105 | return PEM_ASN1_read((d2i_of_void *)d2i_CMS_ContentInfo, |
106 | (void **)x, cb, u); | 106 | PEM_STRING_CMS, fp, (void **)x, cb, u); |
107 | } | 107 | } |
108 | 108 | ||
109 | int | 109 | int |
110 | PEM_write_bio_CMS(BIO *bp, const CMS_ContentInfo *x) | 110 | PEM_write_bio_CMS(BIO *bp, const CMS_ContentInfo *x) |
111 | { | 111 | { |
112 | return PEM_ASN1_write_bio((i2d_of_void *)i2d_CMS_ContentInfo, PEM_STRING_CMS, bp, | 112 | return PEM_ASN1_write_bio((i2d_of_void *)i2d_CMS_ContentInfo, |
113 | (void *)x, NULL, NULL, 0, NULL, NULL); | 113 | PEM_STRING_CMS, bp, (void *)x, NULL, NULL, 0, NULL, NULL); |
114 | } | 114 | } |
115 | 115 | ||
116 | int | 116 | int |
117 | PEM_write_CMS(FILE *fp, const CMS_ContentInfo *x) | 117 | PEM_write_CMS(FILE *fp, const CMS_ContentInfo *x) |
118 | { | 118 | { |
119 | return PEM_ASN1_write((i2d_of_void *)i2d_CMS_ContentInfo, PEM_STRING_CMS, fp, | 119 | return PEM_ASN1_write((i2d_of_void *)i2d_CMS_ContentInfo, |
120 | (void *)x, NULL, NULL, 0, NULL, NULL); | 120 | PEM_STRING_CMS, fp, (void *)x, NULL, NULL, 0, NULL, NULL); |
121 | } | 121 | } |
122 | 122 | ||
123 | BIO * | 123 | BIO * |
@@ -131,7 +131,7 @@ BIO_new_CMS(BIO *out, CMS_ContentInfo *cms) | |||
131 | int i2d_CMS_bio_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, int flags) | 131 | int i2d_CMS_bio_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, int flags) |
132 | { | 132 | { |
133 | return i2d_ASN1_bio_stream(out, (ASN1_VALUE *)cms, in, flags, | 133 | return i2d_ASN1_bio_stream(out, (ASN1_VALUE *)cms, in, flags, |
134 | &CMS_ContentInfo_it); | 134 | &CMS_ContentInfo_it); |
135 | } | 135 | } |
136 | 136 | ||
137 | int | 137 | int |