diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/asn1_local.h')
-rw-r--r-- | src/lib/libcrypto/asn1/asn1_local.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/lib/libcrypto/asn1/asn1_local.h b/src/lib/libcrypto/asn1/asn1_local.h index ed40e18ec9..52b8a46aeb 100644 --- a/src/lib/libcrypto/asn1/asn1_local.h +++ b/src/lib/libcrypto/asn1/asn1_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1_local.h,v 1.1 2022/11/26 16:08:50 tb Exp $ */ | 1 | /* $OpenBSD: asn1_local.h,v 1.2 2023/04/25 19:08:30 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2006. | 3 | * project 2006. |
4 | */ | 4 | */ |
@@ -248,4 +248,17 @@ int OPENSSL_gmtime_diff(int *pday, int *psec, const struct tm *from, | |||
248 | int asn1_time_time_t_to_tm(const time_t *time, struct tm *out_tm); | 248 | int asn1_time_time_t_to_tm(const time_t *time, struct tm *out_tm); |
249 | int asn1_time_tm_to_time_t(const struct tm *tm, time_t *out); | 249 | int asn1_time_tm_to_time_t(const struct tm *tm, time_t *out); |
250 | 250 | ||
251 | int ASN1_item_ndef_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it); | ||
252 | |||
253 | BIO *BIO_new_NDEF(BIO *out, ASN1_VALUE *val, const ASN1_ITEM *it); | ||
254 | |||
255 | int i2d_ASN1_bio_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags, | ||
256 | const ASN1_ITEM *it); | ||
257 | int PEM_write_bio_ASN1_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags, | ||
258 | const char *hdr, const ASN1_ITEM *it); | ||
259 | int SMIME_write_ASN1(BIO *bio, ASN1_VALUE *val, BIO *data, int flags, | ||
260 | int ctype_nid, int econt_nid, STACK_OF(X509_ALGOR) *mdalgs, | ||
261 | const ASN1_ITEM *it); | ||
262 | ASN1_VALUE *SMIME_read_ASN1(BIO *bio, BIO **bcont, const ASN1_ITEM *it); | ||
263 | |||
251 | __END_HIDDEN_DECLS | 264 | __END_HIDDEN_DECLS |