diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-10-21 22:46:12 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-10-21 22:46:12 +0800 |
commit | 128a0432a143095e1331e13d2571a09b95709c29 (patch) | |
tree | fd61c22f3e7a5bd310eb8febce8fd49eb9b97b40 | |
parent | 86122772ba844bc9cff67396ed68e6c71b9490f8 (diff) | |
download | dropbear-128a0432a143095e1331e13d2571a09b95709c29.tar.gz |
A few small fixes for ECC compilation
-rw-r--r-- | ecdsa.h | 6 | ||||
-rw-r--r-- | sysoptions.h | 2 |
2 files changed, 5 insertions, 3 deletions
@@ -7,11 +7,11 @@ #ifdef DROPBEAR_ECDSA -#ifdef DROPBEAR_ECC_256 +#if defined(DROPBEAR_ECC_256) #define ECDSA_DEFAULT_SIZE 256 -#elif DROPBEAR_ECC_384 +#elif defined(DROPBEAR_ECC_384) #define ECDSA_DEFAULT_SIZE 384 -#elif DROPBEAR_ECC_521 +#elif defined(DROPBEAR_ECC_521) #define ECDSA_DEFAULT_SIZE 521 #else #define ECDSA_DEFAULT_SIZE 0 diff --git a/sysoptions.h b/sysoptions.h index 21b153b..8d57375 100644 --- a/sysoptions.h +++ b/sysoptions.h @@ -90,6 +90,8 @@ #if defined(DROPBEAR_ECDH) || defined (DROPBEAR_ECDSA) #define DROPBEAR_ECC +/* Debian doesn't define this in system headers */ +#define LTM_DESC #endif #ifdef DROPBEAR_ECC |