summaryrefslogtreecommitdiff
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
commit55e674ea903ede3d89b564fef153b4761e94c5da (patch)
treeaf6c0d623d5a7c737d4b59c47d58e399c328b988 /auth.h
parent45fa390469e791db7fa99b1a9b742dcc3434d8de (diff)
downloaddropbear-55e674ea903ede3d89b564fef153b4761e94c5da.tar.gz
- Rework pubkey options to be more careful about buffer lengths. Needs review.pubkey-options
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 */