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.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/lib/libcrypto/asn1/asn1_locl.h b/src/lib/libcrypto/asn1/asn1_locl.h
index cca92aa686..b9b4f6196b 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.18 2022/01/14 08:09:18 tb Exp $ */ 1/* $OpenBSD: asn1_locl.h,v 1.19 2022/01/14 08:43:06 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 */
@@ -161,6 +161,22 @@ struct x509_crl_method_st {
161 int (*crl_verify)(X509_CRL *crl, EVP_PKEY *pk); 161 int (*crl_verify)(X509_CRL *crl, EVP_PKEY *pk);
162}; 162};
163 163
164int asn1_ex_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it);
165
166int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it);
167int asn1_set_choice_selector(ASN1_VALUE **pval, int value, const ASN1_ITEM *it);
168
169ASN1_VALUE ** asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt);
170
171const ASN1_TEMPLATE *asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, int nullerr);
172
173int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it);
174
175void asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it);
176void asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
177int asn1_enc_restore(int *len, unsigned char **out, ASN1_VALUE **pval, const ASN1_ITEM *it);
178int asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen, const ASN1_ITEM *it);
179
164/* 180/*
165 * Unicode codepoint constants 181 * Unicode codepoint constants
166 */ 182 */