diff options
-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 |