Make sure we get the definition of OPENSSL_NO_ECDSA.
authorRichard Levitte <levitte@openssl.org>
Thu, 20 Mar 2003 23:22:31 +0000 (23:22 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 20 Mar 2003 23:22:31 +0000 (23:22 +0000)
crypto/ecdsa/ecdsa.h
crypto/ecdsa/ecdsatest.c

index d72d0b1363aa76960104f34971a3087cb22597ca..e82762d35dfdbdd5aca4029027875d938e9314a2 100644 (file)
@@ -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
index 402e988f46cab332ec99606b5625014e07c141e8..7beae6f739d119b32033c907f86e3822bb7b1e06 100644 (file)
@@ -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[])
        {