From 0f814687b95e5980744240b7a81672c89c255340 Mon Sep 17 00:00:00 2001 From: Geoff Thorpe Date: Mon, 17 May 2004 19:14:22 +0000 Subject: Deprecate the recursive includes of bn.h from various API headers (asn1.h, dh.h, dsa.h, ec.h, ecdh.h, ecdsa.h, rsa.h), as the opaque bignum types are already declared in ossl_typ.h. Add explicit includes for bn.h in those C files that need access to structure internals or API functions+macros. --- crypto/dh/dh.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crypto/dh') 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 #endif -#include -#include #include +#ifndef OPENSSL_NO_DEPRECATED +#include +#endif #define DH_FLAG_CACHE_MONT_P 0x01 -- cgit v1.1