comparison cli-auth.c @ 1781:bf1912d2d6e9

Remove unused cli_authinitialise
author Matt Johnston <matt@ucc.asn.au>
date Thu, 03 Dec 2020 21:19:19 +0800
parents 6c16a05023aa
children df8d8ec1801c
comparison
equal deleted inserted replaced
1780:b5aedadc0008 1781:bf1912d2d6e9
30 #include "buffer.h" 30 #include "buffer.h"
31 #include "ssh.h" 31 #include "ssh.h"
32 #include "packet.h" 32 #include "packet.h"
33 #include "runopts.h" 33 #include "runopts.h"
34 34
35 void cli_authinitialise() {
36
37 memset(&ses.authstate, 0, sizeof(ses.authstate));
38 }
39
40
41 /* Send a "none" auth request to get available methods */ 35 /* Send a "none" auth request to get available methods */
42 void cli_auth_getmethods() { 36 void cli_auth_getmethods() {
43 TRACE(("enter cli_auth_getmethods")) 37 TRACE(("enter cli_auth_getmethods"))
44 CHECKCLEARTOWRITE(); 38 CHECKCLEARTOWRITE();
45 buf_putbyte(ses.writepayload, SSH_MSG_USERAUTH_REQUEST); 39 buf_putbyte(ses.writepayload, SSH_MSG_USERAUTH_REQUEST);