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 | 88ac2da7c261eb91857336ff035a44cbcd3b2606 (patch) | |
tree | d19aad3d91c14d6e7289781e354d29c387df37c2 | |
parent | 27510a6e9eb8f54a8f109fa9f29481e8f8170862 (diff) |
A few small fixes for ECC compilation
--HG--
branch : ecc
-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 |