aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/dsa
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2004-04-19 18:09:28 +0000
committerGeoff Thorpe <geoff@openssl.org>2004-04-19 18:09:28 +0000
commit60a938c6bca4c0890ed2d320e29fb43c970094d5 (patch)
treeb4d6fa7ae1a0c24e30e9ef5edcec0d5a88fd9f5f /crypto/dsa
parent3a87a9b9db07f8d3c6d9aa7f20e01f053007a703 (diff)
downloadopenssl-60a938c6bca4c0890ed2d320e29fb43c970094d5.tar.gz
(oops) Apologies all, that last header-cleanup commit was from the wrong
tree. This further reduces header interdependencies, and makes some associated cleanups.
Diffstat (limited to 'crypto/dsa')
-rw-r--r--crypto/dsa/dsa.h3
-rw-r--r--crypto/dsa/dsa_lib.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/crypto/dsa/dsa.h b/crypto/dsa/dsa.h
index d54c5d59bc..cdb19457fb 100644
--- a/crypto/dsa/dsa.h
+++ b/crypto/dsa/dsa.h
@@ -77,9 +77,12 @@
#include <openssl/bn.h>
#include <openssl/crypto.h>
#include <openssl/ossl_typ.h>
+
+#ifndef OPENSSL_NO_DEPRECATED
#ifndef OPENSSL_NO_DH
# include <openssl/dh.h>
#endif
+#endif
#define DSA_FLAG_CACHE_MONT_P 0x01
diff --git a/crypto/dsa/dsa_lib.c b/crypto/dsa/dsa_lib.c
index 4171af24c6..3a78082c01 100644
--- a/crypto/dsa/dsa_lib.c
+++ b/crypto/dsa/dsa_lib.c
@@ -66,6 +66,7 @@
#ifndef OPENSSL_NO_ENGINE
#include <openssl/engine.h>
#endif
+#include <openssl/dh.h>
const char *DSA_version="DSA" OPENSSL_VERSION_PTEXT;