diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/cms/cms_io.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/cms/cms_io.c b/src/lib/libcrypto/cms/cms_io.c index ceb4ce8ecb..84ada47c49 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.20 2023/07/08 08:26:26 beck Exp $ */ | 1 | /* $OpenBSD: cms_io.c,v 1.21 2024/03/30 01:53:05 joshua 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. |
@@ -105,6 +105,7 @@ PEM_read_bio_CMS(BIO *bp, CMS_ContentInfo **x, pem_password_cb *cb, void *u) | |||
105 | return PEM_ASN1_read_bio((d2i_of_void *)d2i_CMS_ContentInfo, | 105 | return PEM_ASN1_read_bio((d2i_of_void *)d2i_CMS_ContentInfo, |
106 | PEM_STRING_CMS, bp, (void **)x, cb, u); | 106 | PEM_STRING_CMS, bp, (void **)x, cb, u); |
107 | } | 107 | } |
108 | LCRYPTO_ALIAS(PEM_read_bio_CMS); | ||
108 | 109 | ||
109 | CMS_ContentInfo * | 110 | CMS_ContentInfo * |
110 | PEM_read_CMS(FILE *fp, CMS_ContentInfo **x, pem_password_cb *cb, void *u) | 111 | PEM_read_CMS(FILE *fp, CMS_ContentInfo **x, pem_password_cb *cb, void *u) |
@@ -112,6 +113,7 @@ PEM_read_CMS(FILE *fp, CMS_ContentInfo **x, pem_password_cb *cb, void *u) | |||
112 | return PEM_ASN1_read((d2i_of_void *)d2i_CMS_ContentInfo, | 113 | return PEM_ASN1_read((d2i_of_void *)d2i_CMS_ContentInfo, |
113 | PEM_STRING_CMS, fp, (void **)x, cb, u); | 114 | PEM_STRING_CMS, fp, (void **)x, cb, u); |
114 | } | 115 | } |
116 | LCRYPTO_ALIAS(PEM_read_CMS); | ||
115 | 117 | ||
116 | int | 118 | int |
117 | PEM_write_bio_CMS(BIO *bp, const CMS_ContentInfo *x) | 119 | PEM_write_bio_CMS(BIO *bp, const CMS_ContentInfo *x) |
@@ -119,6 +121,7 @@ PEM_write_bio_CMS(BIO *bp, const CMS_ContentInfo *x) | |||
119 | return PEM_ASN1_write_bio((i2d_of_void *)i2d_CMS_ContentInfo, | 121 | return PEM_ASN1_write_bio((i2d_of_void *)i2d_CMS_ContentInfo, |
120 | PEM_STRING_CMS, bp, (void *)x, NULL, NULL, 0, NULL, NULL); | 122 | PEM_STRING_CMS, bp, (void *)x, NULL, NULL, 0, NULL, NULL); |
121 | } | 123 | } |
124 | LCRYPTO_ALIAS(PEM_write_bio_CMS); | ||
122 | 125 | ||
123 | int | 126 | int |
124 | PEM_write_CMS(FILE *fp, const CMS_ContentInfo *x) | 127 | PEM_write_CMS(FILE *fp, const CMS_ContentInfo *x) |
@@ -126,6 +129,7 @@ PEM_write_CMS(FILE *fp, const CMS_ContentInfo *x) | |||
126 | return PEM_ASN1_write((i2d_of_void *)i2d_CMS_ContentInfo, | 129 | return PEM_ASN1_write((i2d_of_void *)i2d_CMS_ContentInfo, |
127 | PEM_STRING_CMS, fp, (void *)x, NULL, NULL, 0, NULL, NULL); | 130 | PEM_STRING_CMS, fp, (void *)x, NULL, NULL, 0, NULL, NULL); |
128 | } | 131 | } |
132 | LCRYPTO_ALIAS(PEM_write_CMS); | ||
129 | 133 | ||
130 | BIO * | 134 | BIO * |
131 | BIO_new_CMS(BIO *out, CMS_ContentInfo *cms) | 135 | BIO_new_CMS(BIO *out, CMS_ContentInfo *cms) |