diff options
author | Matt Johnston <matt@ucc.asn.au> | 2018-03-08 22:22:11 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2018-03-08 22:22:11 +0800 |
commit | b4b11c8155b09e4d56925d2d4336c10d802adf11 (patch) | |
tree | 04052a129dbedc3c9ea4fe2692911d571156d0ac /ecdsa.h | |
parent | f82933108ded556e2fbd07315d52bdf4c2d4ad09 (diff) |
#error if no ecc size is chosen
Diffstat (limited to 'ecdsa.h')
-rw-r--r-- | ecdsa.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ #elif DROPBEAR_ECC_521 #define ECDSA_DEFAULT_SIZE 521 #else -#define ECDSA_DEFAULT_SIZE 0 +#error ECDSA can't be enabled without enabling at least one size (256, 384, 521) #endif ecc_key *gen_ecdsa_priv_key(unsigned int bit_size); |