diff options
author | Richard Levitte <levitte@openssl.org> | 2003-03-20 23:21:51 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2003-03-20 23:21:51 +0000 |
commit | 751ff1d376feae3beaee90ca66dd7fe92e2316d2 (patch) | |
tree | 878cd7d35acbac9ecc527f489f34d075241b3ec2 /crypto/dsa | |
parent | d3ae5b1c8a01436d6cd51ee603ab79cf41c2a5ce (diff) | |
download | openssl-751ff1d376feae3beaee90ca66dd7fe92e2316d2.tar.gz |
Make sure we get the definition of OPENSSL_NO_DSA and OPENSSL_NO_SHA.
Diffstat (limited to 'crypto/dsa')
-rw-r--r-- | crypto/dsa/dsa.h | 2 | ||||
-rw-r--r-- | crypto/dsa/dsa_gen.c | 2 | ||||
-rw-r--r-- | crypto/dsa/dsa_key.c | 2 | ||||
-rw-r--r-- | crypto/dsa/dsatest.c | 1 |
4 files changed, 6 insertions, 1 deletions
diff --git a/crypto/dsa/dsa.h b/crypto/dsa/dsa.h index 6ba79b01df..651add43ae 100644 --- a/crypto/dsa/dsa.h +++ b/crypto/dsa/dsa.h @@ -65,6 +65,8 @@ #ifndef HEADER_DSA_H #define HEADER_DSA_H +#include <openssl/e_os2.h> + #ifdef OPENSSL_NO_DSA #error DSA is disabled. #endif diff --git a/crypto/dsa/dsa_gen.c b/crypto/dsa/dsa_gen.c index 4b9aff3689..dffd588ff1 100644 --- a/crypto/dsa/dsa_gen.c +++ b/crypto/dsa/dsa_gen.c @@ -69,6 +69,8 @@ #define HASH EVP_sha1() #endif +#include <openssl/opensslconf.h> /* To see if OPENSSL_NO_SHA is defined */ + #ifndef OPENSSL_NO_SHA #include <stdio.h> diff --git a/crypto/dsa/dsa_key.c b/crypto/dsa/dsa_key.c index 48ff1f423c..8427b77970 100644 --- a/crypto/dsa/dsa_key.c +++ b/crypto/dsa/dsa_key.c @@ -56,10 +56,10 @@ * [including the GNU Public Licence.] */ -#ifndef OPENSSL_NO_SHA #include <stdio.h> #include <time.h> #include "cryptlib.h" +#ifndef OPENSSL_NO_SHA #include <openssl/bn.h> #include <openssl/dsa.h> #include <openssl/rand.h> diff --git a/crypto/dsa/dsatest.c b/crypto/dsa/dsatest.c index 940d97d0e6..71ff566edb 100644 --- a/crypto/dsa/dsatest.c +++ b/crypto/dsa/dsatest.c @@ -76,6 +76,7 @@ #include <openssl/err.h> #ifndef OPENSSL_NO_ENGINE #include <openssl/engine.h> +#include <openssl/e_os2.h> #endif #ifdef OPENSSL_NO_DSA |