# HG changeset patch # User Matt Johnston # Date 1520518931 -28800 # Node ID 0f149d63068d90705db7fb52c8dea15ff32eedd7 # Parent b711a8256919494c0dc5b3ecf8f5271b92ff10cb #error if no ecc size is chosen diff -r b711a8256919 -r 0f149d63068d ecdsa.h --- a/ecdsa.h Wed Mar 07 22:50:32 2018 +0800 +++ b/ecdsa.h Thu Mar 08 22:22:11 2018 +0800 @@ -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);