comparison 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
comparison
equal deleted inserted replaced
846:b298bb438625 847:f4bb964c8678
52 #include "genrsa.h" 52 #include "genrsa.h"
53 #include "gendss.h" 53 #include "gendss.h"
54 #include "ecdsa.h" 54 #include "ecdsa.h"
55 #include "crypto_desc.h" 55 #include "crypto_desc.h"
56 #include "random.h" 56 #include "random.h"
57 #include "gensignkey.h"
57 58
58 static void printhelp(char * progname); 59 static void printhelp(char * progname);
59 60
60 61
61 static void printpubkey(sign_key * key, int keytype); 62 static void printpubkey(sign_key * key, int keytype);
131 int main(int argc, char ** argv) { 132 int main(int argc, char ** argv) {
132 #endif 133 #endif
133 134
134 int i; 135 int i;
135 char ** next = 0; 136 char ** next = 0;
136 sign_key *key = NULL;
137 buffer *buf = NULL;
138 char * filename = NULL; 137 char * filename = NULL;
139 enum signkey_type keytype = DROPBEAR_SIGNKEY_NONE; 138 enum signkey_type keytype = DROPBEAR_SIGNKEY_NONE;
140 char * typetext = NULL; 139 char * typetext = NULL;
141 char * sizetext = NULL; 140 char * sizetext = NULL;
142 unsigned int bits = 0; 141 unsigned int bits = 0;