summaryrefslogtreecommitdiffstats
path: root/crypto/ecdsa
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2015-03-10 19:09:27 -0400
committerRich Salz <rsalz@akamai.com>2015-03-11 09:29:37 -0400
commit10bf4fc2c3da332a54247da1f3c0dcb44944f7ff (patch)
treec2f597e901f98829266ec4045492195cefdd958c /crypto/ecdsa
parentac5a110621ca48f0bebd5b4d76d081de403da29e (diff)
Merge OPENSSL_NO_EC{DH,DSA} into OPENSSL_NO_EC
Suggested by John Foley <foleyj@cisco.com>. Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'crypto/ecdsa')
-rw-r--r--crypto/ecdsa/ecdsa.h2
-rw-r--r--crypto/ecdsa/ecdsatest.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/crypto/ecdsa/ecdsa.h b/crypto/ecdsa/ecdsa.h
index 86cafe2ba1..3876004473 100644
--- a/crypto/ecdsa/ecdsa.h
+++ b/crypto/ecdsa/ecdsa.h
@@ -61,7 +61,7 @@
# include <openssl/opensslconf.h>
-# ifdef OPENSSL_NO_ECDSA
+# ifdef OPENSSL_NO_EC
# error ECDSA is disabled.
# endif
diff --git a/crypto/ecdsa/ecdsatest.c b/crypto/ecdsa/ecdsatest.c
index d58490f21f..31d9c84e99 100644
--- a/crypto/ecdsa/ecdsatest.c
+++ b/crypto/ecdsa/ecdsatest.c
@@ -73,9 +73,9 @@
#include <stdlib.h>
#include <string.h>
-#include <openssl/opensslconf.h> /* To see if OPENSSL_NO_ECDSA is defined */
+#include <openssl/opensslconf.h> /* To see if OPENSSL_NO_EC is defined */
-#ifdef OPENSSL_NO_ECDSA
+#ifdef OPENSSL_NO_EC
int main(int argc, char *argv[])
{
puts("Elliptic curves are disabled.");