summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509.h
diff options
context:
space:
mode:
authortb <>2024-03-02 10:52:24 +0000
committertb <>2024-03-02 10:52:24 +0000
commit55807b7cf8041c241959b185b2cf683901261159 (patch)
treea256f9140cc07cd8ab0be4d5a9e1947af8dec806 /src/lib/libcrypto/x509/x509.h
parent959b471496eaf0b6bfc9eec2f92c62ddea540803 (diff)
downloadopenbsd-55807b7cf8041c241959b185b2cf683901261159.tar.gz
openbsd-55807b7cf8041c241959b185b2cf683901261159.tar.bz2
openbsd-55807b7cf8041c241959b185b2cf683901261159.zip
Make X509_CERT_AUX internal
Another struct/API that should never have leaked out of the library. ok jsing
Diffstat (limited to 'src/lib/libcrypto/x509/x509.h')
-rw-r--r--src/lib/libcrypto/x509/x509.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h
index c89e8fc757..98a0bcb201 100644
--- a/src/lib/libcrypto/x509/x509.h
+++ b/src/lib/libcrypto/x509/x509.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509.h,v 1.109 2024/03/02 10:50:26 tb Exp $ */ 1/* $OpenBSD: x509.h,v 1.110 2024/03/02 10:52:24 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 *
@@ -149,8 +149,6 @@ typedef struct X509_req_info_st X509_REQ_INFO;
149 149
150typedef struct X509_req_st X509_REQ; 150typedef struct X509_req_st X509_REQ;
151 151
152typedef struct x509_cert_aux_st X509_CERT_AUX;
153
154typedef struct x509_cinf_st X509_CINF; 152typedef struct x509_cinf_st X509_CINF;
155 153
156DECLARE_STACK_OF(X509) 154DECLARE_STACK_OF(X509)
@@ -626,11 +624,6 @@ void X509_free(X509 *a);
626X509 *d2i_X509(X509 **a, const unsigned char **in, long len); 624X509 *d2i_X509(X509 **a, const unsigned char **in, long len);
627int i2d_X509(X509 *a, unsigned char **out); 625int i2d_X509(X509 *a, unsigned char **out);
628extern const ASN1_ITEM X509_it; 626extern const ASN1_ITEM X509_it;
629X509_CERT_AUX *X509_CERT_AUX_new(void);
630void X509_CERT_AUX_free(X509_CERT_AUX *a);
631X509_CERT_AUX *d2i_X509_CERT_AUX(X509_CERT_AUX **a, const unsigned char **in, long len);
632int i2d_X509_CERT_AUX(X509_CERT_AUX *a, unsigned char **out);
633extern const ASN1_ITEM X509_CERT_AUX_it;
634 627
635int X509_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, 628int X509_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func,
636 CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); 629 CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func);
@@ -828,7 +821,6 @@ int X509_NAME_print_ex(BIO *out, const X509_NAME *nm, int indent,
828int X509_print_ex(BIO *bp,X509 *x, unsigned long nmflag, unsigned long cflag); 821int X509_print_ex(BIO *bp,X509 *x, unsigned long nmflag, unsigned long cflag);
829int X509_print(BIO *bp,X509 *x); 822int X509_print(BIO *bp,X509 *x);
830int X509_ocspid_print(BIO *bp,X509 *x); 823int X509_ocspid_print(BIO *bp,X509 *x);
831int X509_CERT_AUX_print(BIO *bp,X509_CERT_AUX *x, int indent);
832int X509_CRL_print(BIO *bp,X509_CRL *x); 824int X509_CRL_print(BIO *bp,X509_CRL *x);
833int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflag, unsigned long cflag); 825int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflag, unsigned long cflag);
834int X509_REQ_print(BIO *bp,X509_REQ *req); 826int X509_REQ_print(BIO *bp,X509_REQ *req);