aboutsummaryrefslogtreecommitdiff
path: root/crypto/dh
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/dh')
-rw-r--r--crypto/dh/dh.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/dh/dh.h b/crypto/dh/dh.h
index 28a1b42..312340e 100644
--- a/crypto/dh/dh.h
+++ b/crypto/dh/dh.h
@@ -68,9 +68,10 @@
#ifndef OPENSSL_NO_BIO
#include <openssl/bio.h>
#endif
-#include <openssl/bn.h>
-#include <openssl/crypto.h>
#include <openssl/ossl_typ.h>
+#ifndef OPENSSL_NO_DEPRECATED
+#include <openssl/bn.h>
+#endif
#define DH_FLAG_CACHE_MONT_P 0x01