summaryrefslogtreecommitdiffhomepage
path: root/keyimport.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2016-05-02 23:48:16 +0200
committerMatt Johnston <matt@ucc.asn.au>2016-05-02 23:48:16 +0200
commitd6daad29fcfc20295473bf7e6a96f3016282e9e6 (patch)
tree5ac3e533fca2a1141509e16de6f73e2905e45e23 /keyimport.c
parent4664ce2c35e69ff79949eff178be1720bf288ddc (diff)
options for disabling "normal" DH
Diffstat (limited to 'keyimport.c')
-rw-r--r--keyimport.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyimport.c b/keyimport.c
index 66a6df7..f7e4c8e 100644
--- a/keyimport.c
+++ b/keyimport.c
@@ -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); \