diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509_local.h')
-rw-r--r-- | src/lib/libcrypto/x509/x509_local.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/x509_local.h b/src/lib/libcrypto/x509/x509_local.h index 342aa226fb..83b57403d0 100644 --- a/src/lib/libcrypto/x509/x509_local.h +++ b/src/lib/libcrypto/x509/x509_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_local.h,v 1.21 2024/03/02 10:40:05 tb Exp $ */ | 1 | /* $OpenBSD: x509_local.h,v 1.22 2024/03/02 10:52:24 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 2013. | 3 | * project 2013. |
4 | */ | 4 | */ |
@@ -135,13 +135,20 @@ struct X509_req_st { | |||
135 | * useful in certificate stores and databases. When used this is tagged onto | 135 | * useful in certificate stores and databases. When used this is tagged onto |
136 | * the end of the certificate itself. | 136 | * the end of the certificate itself. |
137 | */ | 137 | */ |
138 | struct x509_cert_aux_st { | 138 | typedef struct x509_cert_aux_st { |
139 | STACK_OF(ASN1_OBJECT) *trust; /* trusted uses */ | 139 | STACK_OF(ASN1_OBJECT) *trust; /* trusted uses */ |
140 | STACK_OF(ASN1_OBJECT) *reject; /* rejected uses */ | 140 | STACK_OF(ASN1_OBJECT) *reject; /* rejected uses */ |
141 | ASN1_UTF8STRING *alias; /* "friendly name" */ | 141 | ASN1_UTF8STRING *alias; /* "friendly name" */ |
142 | ASN1_OCTET_STRING *keyid; /* key id of private key */ | 142 | ASN1_OCTET_STRING *keyid; /* key id of private key */ |
143 | STACK_OF(X509_ALGOR) *other; /* other unspecified info */ | 143 | STACK_OF(X509_ALGOR) *other; /* other unspecified info */ |
144 | } /* X509_CERT_AUX */; | 144 | } X509_CERT_AUX; |
145 | |||
146 | X509_CERT_AUX *X509_CERT_AUX_new(void); | ||
147 | void X509_CERT_AUX_free(X509_CERT_AUX *a); | ||
148 | X509_CERT_AUX *d2i_X509_CERT_AUX(X509_CERT_AUX **a, const unsigned char **in, long len); | ||
149 | int i2d_X509_CERT_AUX(X509_CERT_AUX *a, unsigned char **out); | ||
150 | extern const ASN1_ITEM X509_CERT_AUX_it; | ||
151 | int X509_CERT_AUX_print(BIO *bp,X509_CERT_AUX *x, int indent); | ||
145 | 152 | ||
146 | struct x509_cinf_st { | 153 | struct x509_cinf_st { |
147 | ASN1_INTEGER *version; /* [ 0 ] default of v1 */ | 154 | ASN1_INTEGER *version; /* [ 0 ] default of v1 */ |