summaryrefslogtreecommitdiff
path: root/crypto/store
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2004-04-19 17:46:04 +0000
committerGeoff Thorpe <geoff@openssl.org>2004-04-19 17:46:04 +0000
commit3a87a9b9db07f8d3c6d9aa7f20e01f053007a703 (patch)
tree543949ed3523920985fe649a5ebe3945c8112391 /crypto/store
parentae44fc1ec4c0d6c125c28f52dc06e9ae87c59c4c (diff)
downloadopenssl-new-3a87a9b9db07f8d3c6d9aa7f20e01f053007a703.tar.gz
Reduce header interdependencies, initially in engine.h (the rest of the
changes are the fallout). As this could break source code that doesn't directly include headers for interfaces it uses, changes to recursive includes are covered by the OPENSSL_NO_DEPRECATED symbol. It's better to define this when building and using openssl, and then adapt code where necessary - this is how to stay current. However the mechanism exists for the lethargic.
Diffstat (limited to 'crypto/store')
-rw-r--r--crypto/store/store.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/crypto/store/store.h b/crypto/store/store.h
index 314f216283..40fb38fc43 100644
--- a/crypto/store/store.h
+++ b/crypto/store/store.h
@@ -59,6 +59,7 @@
#ifndef HEADER_STORE_H
#define HEADER_STORE_H
+#include <openssl/ossl_typ.h>
#include <openssl/x509.h>
#include <openssl/evp.h>
#include <openssl/bn.h>
@@ -67,15 +68,9 @@
extern "C" {
#endif
-/* The STORE type is a per-store context that holds all the necessary data
- to perform all the supported storage operations. */
-typedef struct store_st STORE;
-
-/* All instances of STORE have a reference to a method structure, which is a
- ordered vector of functions that implement the lower level things to do.
- There is an instruction on the implementation further down, in the section
- for method implementors. */
-typedef struct store_method_st STORE_METHOD;
+/* Already defined in ossl_typ.h */
+/* typedef struct store_st STORE; */
+/* typedef struct store_method_st STORE_METHOD; */
/* All the following functions return 0, a negative number or NULL on error.