summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2020-12-03 21:19:19 +0800
committerMatt Johnston <matt@ucc.asn.au>2020-12-03 21:19:19 +0800
commit286b6b9f80b901528394fabb23a26a0c67dc8f88 (patch)
treead29729f93d146f666b2776fbd1e062e07c78497
parent220ba993a28aaed1f69fea92e5484da119904036 (diff)
Remove unused cli_authinitialise
-rw-r--r--auth.h1
-rw-r--r--cli-auth.c6
2 files changed, 0 insertions, 7 deletions
diff --git a/auth.h b/auth.h
index 4bdb359..9279619 100644
--- a/auth.h
+++ b/auth.h
@@ -30,7 +30,6 @@
#include "chansession.h"
void svr_authinitialise(void);
-void cli_authinitialise(void);
/* Server functions */
void recv_msg_userauth_request(void);
diff --git a/cli-auth.c b/cli-auth.c
index 2e509e5..5fcacc3 100644
--- a/cli-auth.c
+++ b/cli-auth.c
@@ -32,12 +32,6 @@
#include "packet.h"
#include "runopts.h"
-void cli_authinitialise() {
-
- memset(&ses.authstate, 0, sizeof(ses.authstate));
-}
-
-
/* Send a "none" auth request to get available methods */
void cli_auth_getmethods() {
TRACE(("enter cli_auth_getmethods"))