summaryrefslogtreecommitdiffhomepage
path: root/ecdsa.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-11-01 00:14:48 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-11-01 00:14:48 +0800
commitf66fc01620f7a13d4763781059f4f01f8393809d (patch)
treedc6814959f974bfb516c392013d67f417f0b385a /ecdsa.h
parent8eefb092c83f8f89f4d5574e4a05799eb9df3de8 (diff)
parent082a2dde354eb624b6fee33767e68e5b05dcde25 (diff)
Merge
Diffstat (limited to 'ecdsa.h')
-rw-r--r--ecdsa.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/ecdsa.h b/ecdsa.h
index 84e4000..316235f 100644
--- a/ecdsa.h
+++ b/ecdsa.h
@@ -7,12 +7,12 @@
#ifdef DROPBEAR_ECDSA
-#ifdef DROPBEAR_ECC_256
-#define ECDSA_DEFAULT_SIZE 256
-#elif DROPBEAR_ECC_384
-#define ECDSA_DEFAULT_SIZE 384
-#elif DROPBEAR_ECC_521
+#if defined(DROPBEAR_ECC_521)
#define ECDSA_DEFAULT_SIZE 521
+#elif defined(DROPBEAR_ECC_384)
+#define ECDSA_DEFAULT_SIZE 384
+#elif defined(DROPBEAR_ECC_256)
+#define ECDSA_DEFAULT_SIZE 256
#else
#define ECDSA_DEFAULT_SIZE 0
#endif