# HG changeset patch # User Matt Johnston # Date 1382366772 -28800 # Node ID 4365e12c68e6fc6f61d5e0b049f9671e046fbc23 # Parent fdf51d3f26e14ede645de3ededdb2ed3339e935c A few small fixes for ECC compilation diff -r fdf51d3f26e1 -r 4365e12c68e6 ecdsa.h --- a/ecdsa.h Sun Oct 20 21:07:05 2013 +0800 +++ b/ecdsa.h Mon Oct 21 22:46:12 2013 +0800 @@ -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 -r fdf51d3f26e1 -r 4365e12c68e6 sysoptions.h --- a/sysoptions.h Sun Oct 20 21:07:05 2013 +0800 +++ b/sysoptions.h Mon Oct 21 22:46:12 2013 +0800 @@ -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