summaryrefslogtreecommitdiffstats
path: root/crypto/ecdsa
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-03-20 23:22:31 +0000
committerRichard Levitte <levitte@openssl.org>2003-03-20 23:22:31 +0000
commit3b6aa36c77307dbb22b767b484a62e8e5e4bcc4e (patch)
tree5b529cd50281b56233dc09adec23db49568c793b /crypto/ecdsa
parent03829b2b4774d20e40fc61fb4d8b5e8b39bcae6f (diff)
Make sure we get the definition of OPENSSL_NO_ECDSA.
Diffstat (limited to 'crypto/ecdsa')
-rw-r--r--crypto/ecdsa/ecdsa.h2
-rw-r--r--crypto/ecdsa/ecdsatest.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/crypto/ecdsa/ecdsa.h b/crypto/ecdsa/ecdsa.h
index d72d0b1363..e82762d35d 100644
--- a/crypto/ecdsa/ecdsa.h
+++ b/crypto/ecdsa/ecdsa.h
@@ -55,6 +55,8 @@
#ifndef HEADER_ECDSA_H
#define HEADER_ECDSA_H
+#include <openssl/opensslconf.h>
+
#ifdef OPENSSL_NO_ECDSA
#error ECDSA is disabled.
#endif
diff --git a/crypto/ecdsa/ecdsatest.c b/crypto/ecdsa/ecdsatest.c
index 402e988f46..7beae6f739 100644
--- a/crypto/ecdsa/ecdsatest.c
+++ b/crypto/ecdsa/ecdsatest.c
@@ -79,6 +79,8 @@
#include <stdlib.h>
#include <string.h>
+#include <openssl/opensslconf.h> /* To see if OPENSSL_NO_ECDSA is defined */
+
#ifdef OPENSSL_NO_ECDSA
int main(int argc, char * argv[])
{