diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-10-31 22:49:15 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-10-31 22:49:15 +0800 |
commit | 9e11a09d070a7e507c2b5aaf2c3aa9785f03c1f9 (patch) | |
tree | 91c7eaaf159e5ae2256ea4179dabd1fa94280fe5 /ecdsa.h | |
parent | 89d87577014cbc02a0e755bd1158005a5dbe0ada (diff) | |
download | dropbear-9e11a09d070a7e507c2b5aaf2c3aa9785f03c1f9.tar.gz |
Default to some larger key sizes
Diffstat (limited to 'ecdsa.h')
-rw-r--r-- | ecdsa.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -7,12 +7,12 @@ #ifdef DROPBEAR_ECDSA -#ifdef DROPBEAR_ECC_256 -#define ECDSA_DEFAULT_SIZE 256 -#elif DROPBEAR_ECC_384 -#define ECDSA_DEFAULT_SIZE 384 -#elif DROPBEAR_ECC_521 +#if defined(DROPBEAR_ECC_521) #define ECDSA_DEFAULT_SIZE 521 +#elif defined(DROPBEAR_ECC_384) +#define ECDSA_DEFAULT_SIZE 384 +#elif defined(DROPBEAR_ECC_256) +#define ECDSA_DEFAULT_SIZE 256 #else #define ECDSA_DEFAULT_SIZE 0 #endif |