summaryrefslogtreecommitdiffhomepage
path: root/auth.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2008-09-12 17:23:56 +0000
committerMatt Johnston <matt@ucc.asn.au>2008-09-12 17:23:56 +0000
commit31fa5e605b6d42d670945c1821caf8b887623fa1 (patch)
treeaf6c0d623d5a7c737d4b59c47d58e399c328b988 /auth.h
parentc0ce2a6a97af66881675916c504af9caed2f9c2e (diff)
- Rework pubkey options to be more careful about buffer lengths. Needs review.
--HG-- branch : pubkey-options extra : convert_revision : 537a6ebebb46424b967ffe787f0f8560e5f447e8
Diffstat (limited to 'auth.h')
-rw-r--r--auth.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth.h b/auth.h
index d6a50a4..83a2f8e 100644
--- a/auth.h
+++ b/auth.h
@@ -46,7 +46,7 @@ int svr_pubkey_allows_x11fwd();
int svr_pubkey_allows_pty();
void svr_pubkey_set_forced_command(struct ChanSess *chansess);
void svr_pubkey_options_cleanup();
-int svr_add_pubkey_options(const char* opts);
+int svr_add_pubkey_options(buffer *options_buf, int line_num, const char* filename);
#else
/* no option : success */
#define svr_pubkey_allows_agentfwd() 1
@@ -55,7 +55,7 @@ int svr_add_pubkey_options(const char* opts);
#define svr_pubkey_allows_pty() 1
static inline void svr_pubkey_set_forced_command(struct ChanSess *chansess) { }
static inline void svr_pubkey_options_cleanup() { }
-#define svr_add_pubkey_options(x) DROPBEAR_SUCCESS
+#define svr_add_pubkey_options(x,y,z) DROPBEAR_SUCCESS
#endif
/* Client functions */