diff runopts.h @ 47:4b53a43f0082

- client pubkey auth works - rearrange the runopts code for client and server (hostkey reading is needed by both (if the client is doing pubkey auth. otherwise....))
author Matt Johnston <matt@ucc.asn.au>
date Fri, 06 Aug 2004 16:18:01 +0000
parents b4874d772210
children efb5e0b335cf
line wrap: on
line diff
--- a/runopts.h	Fri Aug 06 02:51:17 2004 +0000
+++ b/runopts.h	Fri Aug 06 16:18:01 2004 +0000
@@ -28,6 +28,7 @@
 #include "includes.h"
 #include "signkey.h"
 #include "buffer.h"
+#include "auth.h"
 
 typedef struct runopts {
 
@@ -38,6 +39,8 @@
 
 extern runopts opts;
 
+int readhostkey(const char * filename, sign_key * hostkey, int *type);
+
 typedef struct svr_runopts {
 
 	char * rsakeyfile;
@@ -87,6 +90,9 @@
 
 	char *cmd;
 	int wantpty;
+	struct PubkeyList *pubkeys; /* Keys to use for public-key auth */
+#ifdef DROPBEAR_PUBKEY_AUTH
+#endif
 	/* XXX TODO */
 
 } cli_runopts;