summaryrefslogtreecommitdiff
path: root/ecdsa.h
diff options
context:
space:
mode:
Diffstat (limited to 'ecdsa.h')
-rw-r--r--ecdsa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecdsa.h b/ecdsa.h
index bb3a18e..01cb134 100644
--- a/ecdsa.h
+++ b/ecdsa.h
@@ -16,7 +16,7 @@
#elif DROPBEAR_ECC_521
#define ECDSA_DEFAULT_SIZE 521
#else
-#define ECDSA_DEFAULT_SIZE 0
+#error ECDSA cannot be enabled without enabling at least one size (256, 384, 521)
#endif
ecc_key *gen_ecdsa_priv_key(unsigned int bit_size);