summaryrefslogtreecommitdiffstats
path: root/src/include/openssl/crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/openssl/crypto.h')
-rw-r--r--src/include/openssl/crypto.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/include/openssl/crypto.h b/src/include/openssl/crypto.h
index 3af1547..5207a12 100644
--- a/src/include/openssl/crypto.h
+++ b/src/include/openssl/crypto.h
@@ -21,6 +21,10 @@
* mem.h. */
#include <openssl/mem.h>
+/* Upstream OpenSSL defines |CRYPTO_LOCK|, etc., in crypto.h rather than
+ * thread.h. */
+#include <openssl/thread.h>
+
#if defined(__cplusplus)
extern "C" {
@@ -55,9 +59,4 @@ OPENSSL_EXPORT unsigned long SSLeay(void);
} /* extern C */
#endif
-#define CRYPTO_F_CRYPTO_get_ex_new_index 100
-#define CRYPTO_F_CRYPTO_set_ex_data 101
-#define CRYPTO_F_get_class 102
-#define CRYPTO_F_get_func_pointers 103
-
#endif /* OPENSSL_HEADER_CRYPTO_H */