summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/asn1.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/asn1/asn1.h')
-rw-r--r--src/lib/libcrypto/asn1/asn1.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/lib/libcrypto/asn1/asn1.h b/src/lib/libcrypto/asn1/asn1.h
index 8b224c1535..5be4668be0 100644
--- a/src/lib/libcrypto/asn1/asn1.h
+++ b/src/lib/libcrypto/asn1/asn1.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: asn1.h,v 1.75 2023/04/24 22:12:28 tb Exp $ */ 1/* $OpenBSD: asn1.h,v 1.76 2023/04/25 19:08:30 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -881,10 +881,6 @@ ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **val, const unsigned char **in,
881 long len, const ASN1_ITEM *it); 881 long len, const ASN1_ITEM *it);
882int ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it); 882int ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it);
883 883
884#if !defined(LIBRESSL_NEXT_API) || defined(LIBRESSL_VERSION_NUMBER)
885int ASN1_item_ndef_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it);
886#endif
887
888void ASN1_add_oid_module(void); 884void ASN1_add_oid_module(void);
889 885
890ASN1_TYPE *ASN1_generate_nconf(const char *str, CONF *nconf); 886ASN1_TYPE *ASN1_generate_nconf(const char *str, CONF *nconf);
@@ -928,18 +924,6 @@ void ASN1_PCTX_set_str_flags(ASN1_PCTX *p, unsigned long flags);
928 924
929const BIO_METHOD *BIO_f_asn1(void); 925const BIO_METHOD *BIO_f_asn1(void);
930 926
931#if !defined(LIBRESSL_NEXT_API) || defined(LIBRESSL_INTERNAL)
932BIO *BIO_new_NDEF(BIO *out, ASN1_VALUE *val, const ASN1_ITEM *it);
933
934int i2d_ASN1_bio_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags,
935 const ASN1_ITEM *it);
936int PEM_write_bio_ASN1_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags,
937 const char *hdr, const ASN1_ITEM *it);
938int SMIME_write_ASN1(BIO *bio, ASN1_VALUE *val, BIO *data, int flags,
939 int ctype_nid, int econt_nid, STACK_OF(X509_ALGOR) *mdalgs,
940 const ASN1_ITEM *it);
941ASN1_VALUE *SMIME_read_ASN1(BIO *bio, BIO **bcont, const ASN1_ITEM *it);
942#endif
943int SMIME_crlf_copy(BIO *in, BIO *out, int flags); 927int SMIME_crlf_copy(BIO *in, BIO *out, int flags);
944int SMIME_text(BIO *in, BIO *out); 928int SMIME_text(BIO *in, BIO *out);
945 929