diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/asn1/asn1_locl.h | 18 | ||||
| -rw-r--r-- | src/lib/libcrypto/asn1/asn1t.h | 18 |
2 files changed, 18 insertions, 18 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 | ||
| 164 | int asn1_ex_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it); | ||
| 165 | |||
| 166 | int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it); | ||
| 167 | int asn1_set_choice_selector(ASN1_VALUE **pval, int value, const ASN1_ITEM *it); | ||
| 168 | |||
| 169 | ASN1_VALUE ** asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt); | ||
| 170 | |||
| 171 | const ASN1_TEMPLATE *asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, int nullerr); | ||
| 172 | |||
| 173 | int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it); | ||
| 174 | |||
| 175 | void asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it); | ||
| 176 | void asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it); | ||
| 177 | int asn1_enc_restore(int *len, unsigned char **out, ASN1_VALUE **pval, const ASN1_ITEM *it); | ||
| 178 | int 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 | */ |
diff --git a/src/lib/libcrypto/asn1/asn1t.h b/src/lib/libcrypto/asn1/asn1t.h index 82369d3de2..892c8b70c3 100644 --- a/src/lib/libcrypto/asn1/asn1t.h +++ b/src/lib/libcrypto/asn1/asn1t.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: asn1t.h,v 1.18 2022/01/14 08:16:13 tb Exp $ */ | 1 | /* $OpenBSD: asn1t.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 2000. | 3 | * project 2000. |
| 4 | */ | 4 | */ |
| @@ -929,22 +929,6 @@ int ASN1_item_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it | |||
| 929 | int ASN1_template_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_TEMPLATE *tt); | 929 | int ASN1_template_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_TEMPLATE *tt); |
| 930 | void ASN1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it); | 930 | void ASN1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it); |
| 931 | 931 | ||
| 932 | int asn1_ex_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it); | ||
| 933 | |||
| 934 | int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it); | ||
| 935 | int asn1_set_choice_selector(ASN1_VALUE **pval, int value, const ASN1_ITEM *it); | ||
| 936 | |||
| 937 | ASN1_VALUE ** asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt); | ||
| 938 | |||
| 939 | const ASN1_TEMPLATE *asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, int nullerr); | ||
| 940 | |||
| 941 | int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it); | ||
| 942 | |||
| 943 | void asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it); | ||
| 944 | void asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it); | ||
| 945 | int asn1_enc_restore(int *len, unsigned char **out, ASN1_VALUE **pval, const ASN1_ITEM *it); | ||
| 946 | int asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen, const ASN1_ITEM *it); | ||
| 947 | |||
| 948 | #ifdef __cplusplus | 932 | #ifdef __cplusplus |
| 949 | } | 933 | } |
| 950 | #endif | 934 | #endif |
