summaryrefslogtreecommitdiffhomepage
path: root/runopts.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-05-03 23:07:48 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-05-03 23:07:48 +0800
commit95a21c8fd796c570e8660db983b3032af96ec5cb (patch)
tree05347fa8c369407065cccb05806a06593f8a6bc4 /runopts.h
parent79660f2eb1c64bcac9ba0084f9d3822ee88dbd5c (diff)
ecdsa is working
--HG-- branch : ecc
Diffstat (limited to 'runopts.h')
-rw-r--r--runopts.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/runopts.h b/runopts.h
index 9cd84d0..d5dcc9d 100644
--- a/runopts.h
+++ b/runopts.h
@@ -57,11 +57,10 @@ typedef struct runopts {
extern runopts opts;
int readhostkey(const char * filename, sign_key * hostkey, int *type);
+void load_all_hostkeys();
typedef struct svr_runopts {
- char * rsakeyfile;
- char * dsskeyfile;
char * bannerfile;
int forkbg;
@@ -99,6 +98,10 @@ typedef struct svr_runopts {
#endif
sign_key *hostkey;
+
+ char *hostkey_files[MAX_HOSTKEYS];
+ int num_hostkey_files;
+
buffer * banner;
char * pidfile;