changeset 1781:bf1912d2d6e9

Remove unused cli_authinitialise
author Matt Johnston <matt@ucc.asn.au>
date Thu, 03 Dec 2020 21:19:19 +0800
parents b5aedadc0008
children a6da10ac64b5
files auth.h cli-auth.c
diffstat 2 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/auth.h	Tue Nov 17 19:28:11 2020 +0800
+++ b/auth.h	Thu Dec 03 21:19:19 2020 +0800
@@ -30,7 +30,6 @@
 #include "chansession.h"
 
 void svr_authinitialise(void);
-void cli_authinitialise(void);
 
 /* Server functions */
 void recv_msg_userauth_request(void);
--- a/cli-auth.c	Tue Nov 17 19:28:11 2020 +0800
+++ b/cli-auth.c	Thu Dec 03 21:19:19 2020 +0800
@@ -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"))