Mercurial > dropbear
diff ecdsa.h @ 1610:96e4c9b2cc00 coverity
merge coverity
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 21 Mar 2018 00:52:02 +0800 |
parents | 99ca393afc56 |
children |
line wrap: on
line diff
--- a/ecdsa.h Sun Mar 04 15:07:09 2018 +0800 +++ b/ecdsa.h Wed Mar 21 00:52:02 2018 +0800 @@ -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);