summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/asn1_locl.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/asn1/asn1_locl.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libcrypto/asn1/asn1_locl.h b/src/lib/libcrypto/asn1/asn1_locl.h
index f7731ec5dd..851c6e3400 100644
--- a/src/lib/libcrypto/asn1/asn1_locl.h
+++ b/src/lib/libcrypto/asn1/asn1_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: asn1_locl.h,v 1.13 2021/12/14 17:35:21 jsing Exp $ */ 1/* $OpenBSD: asn1_locl.h,v 1.14 2021/12/25 07:04:03 jsing 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 */
@@ -56,6 +56,8 @@
56 * 56 *
57 */ 57 */
58 58
59#include "bytestring.h"
60
59__BEGIN_HIDDEN_DECLS 61__BEGIN_HIDDEN_DECLS
60 62
61/* Internal ASN1 structures and functions: not for application use */ 63/* Internal ASN1 structures and functions: not for application use */
@@ -155,6 +157,10 @@ struct x509_crl_method_st {
155int UTF8_getc(const unsigned char *str, int len, unsigned long *val); 157int UTF8_getc(const unsigned char *str, int len, unsigned long *val);
156int UTF8_putc(unsigned char *str, int len, unsigned long value); 158int UTF8_putc(unsigned char *str, int len, unsigned long value);
157 159
160int asn1_get_object_cbs(CBS *cbs, int der_mode, uint8_t *out_class,
161 int *out_constructed, uint32_t *out_tag_number, int *out_indefinite,
162 uint32_t *out_length);
163
158int asn1_tag2charwidth(int tag); 164int asn1_tag2charwidth(int tag);
159 165
160__END_HIDDEN_DECLS 166__END_HIDDEN_DECLS