diff dropbearkey.c @ 847:f4bb964c8678 keyondemand

Add '-R' for delayed hostkey option
author Matt Johnston <matt@ucc.asn.au>
date Thu, 07 Nov 2013 23:49:37 +0800
parents b298bb438625
children 220f55d540ae
line wrap: on
line diff
--- a/dropbearkey.c	Thu Nov 07 00:18:52 2013 +0800
+++ b/dropbearkey.c	Thu Nov 07 23:49:37 2013 +0800
@@ -54,6 +54,7 @@
 #include "ecdsa.h"
 #include "crypto_desc.h"
 #include "random.h"
+#include "gensignkey.h"
 
 static void printhelp(char * progname);
 
@@ -133,8 +134,6 @@
 
 	int i;
 	char ** next = 0;
-	sign_key *key = NULL;
-	buffer *buf = NULL;
 	char * filename = NULL;
 	enum signkey_type keytype = DROPBEAR_SIGNKEY_NONE;
 	char * typetext = NULL;