mirror of
https://github.com/clearml/dropbear
synced 2025-02-07 13:21:15 +00:00
A few small fixes for ECC compilation
--HG-- branch : ecc
This commit is contained in:
parent
27510a6e9e
commit
88ac2da7c2
6
ecdsa.h
6
ecdsa.h
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user