summaryrefslogtreecommitdiffstats
path: root/crypto/store/store.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/store/store.h')
-rw-r--r--crypto/store/store.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/store/store.h b/crypto/store/store.h
index 40fb38fc43..b2e7e198f9 100644
--- a/crypto/store/store.h
+++ b/crypto/store/store.h
@@ -60,9 +60,11 @@
#define HEADER_STORE_H
#include <openssl/ossl_typ.h>
-#include <openssl/x509.h>
+#ifndef OPENSSL_NO_DEPRECATED
#include <openssl/evp.h>
#include <openssl/bn.h>
+#include <openssl/x509.h>
+#endif
#ifdef __cplusplus
extern "C" {