Mercurial > dropbear
diff keyimport.c @ 1294:56aba7dedbea
options for disabling "normal" DH
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 02 May 2016 23:48:16 +0200 |
parents | 2bb4c662d1c2 |
children | 750ec4ec4cbe |
line wrap: on
line diff
--- a/keyimport.c Mon May 02 17:03:55 2016 +0200 +++ b/keyimport.c Mon May 02 23:48:16 2016 +0200 @@ -36,9 +36,11 @@ #include "dbutil.h" #include "ecc.h" +#ifdef DROPBEAR_ECDSA static const unsigned char OID_SEC256R1_BLOB[] = {0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07}; static const unsigned char OID_SEC384R1_BLOB[] = {0x2b, 0x81, 0x04, 0x00, 0x22}; static const unsigned char OID_SEC521R1_BLOB[] = {0x2b, 0x81, 0x04, 0x00, 0x23}; +#endif #define PUT_32BIT(cp, value) do { \ (cp)[3] = (unsigned char)(value); \