summaryrefslogtreecommitdiff
path: root/ecdsa.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2018-08-26 22:26:42 +0800
committerMatt Johnston <matt@ucc.asn.au>2018-08-26 22:26:42 +0800
commit0cbda7f46732a80514c4f8be7d62bb8ea735d98f (patch)
treec8cf9d3caaf4da2da04fd98ce7f5b54ef34f6074 /ecdsa.h
parentc1537ba5aa50ba410a5e389345cdf765e912d6b3 (diff)
parenteeb50e307e1de6c4dc6e9e5edfd8903bf1c50693 (diff)
downloaddropbear-0cbda7f46732a80514c4f8be7d62bb8ea735d98f.tar.gz
Merge writev #include fix
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);