summaryrefslogtreecommitdiffstats
path: root/crypto/x509/x509_vfy.h
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2001-08-05 18:02:16 +0000
committerBen Laurie <ben@openssl.org>2001-08-05 18:02:16 +0000
commitd66ace9da50de58a17e7ca7eeec8ca6f5a6be189 (patch)
tree7ef2d2fe493c6692dcb4828d6b752abe8b45f6ce /crypto/x509/x509_vfy.h
parentdb7535711049fcfdc71145029b0efc775fa17a5a (diff)
Start to reduce some of the header bloat.
Diffstat (limited to 'crypto/x509/x509_vfy.h')
-rw-r--r--crypto/x509/x509_vfy.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/crypto/x509/x509_vfy.h b/crypto/x509/x509_vfy.h
index b7e58b407e..603b77f364 100644
--- a/crypto/x509/x509_vfy.h
+++ b/crypto/x509/x509_vfy.h
@@ -155,12 +155,10 @@ typedef struct x509_lookup_method_st
X509_OBJECT *ret);
} X509_LOOKUP_METHOD;
-typedef struct x509_store_ctx_st X509_STORE_CTX;
-
/* This is used to hold everything. It is used for all certificate
* validation. Once we have a certificate chain, the 'verify'
* function is then called to actually check the cert chain. */
-typedef struct x509_store_st
+struct x509_store_st
{
/* The following is a cache of trusted certs */
int cache; /* if true, stash any hits */
@@ -190,7 +188,7 @@ typedef struct x509_store_st
CRYPTO_EX_DATA ex_data;
int references;
int depth; /* how deep to look (still unused -- X509_STORE_CTX's depth is used) */
- } X509_STORE;
+ };
#define X509_STORE_set_depth(ctx,d) ((ctx)->depth=(d))