comparison cli-authpasswd.c @ 249:efbaf6b03837

added keyboard-interactive client support
author Matt Johnston <matt@ucc.asn.au>
date Tue, 20 Sep 2005 17:35:21 +0000
parents 257f09a63dab
children 475a818dd6e7
comparison
equal deleted inserted replaced
248:bf64e666f99b 249:efbaf6b03837
111 TRACE(("leave gui_getpass")) 111 TRACE(("leave gui_getpass"))
112 return(buf); 112 return(buf);
113 } 113 }
114 #endif /* ENABLE_CLI_ASKPASS_HELPER */ 114 #endif /* ENABLE_CLI_ASKPASS_HELPER */
115 115
116 int cli_auth_password() { 116 void cli_auth_password() {
117 117
118 char* password = NULL; 118 char* password = NULL;
119 119
120 TRACE(("enter cli_auth_password")) 120 TRACE(("enter cli_auth_password"))
121 CHECKCLEARTOWRITE(); 121 CHECKCLEARTOWRITE();
147 147
148 encrypt_packet(); 148 encrypt_packet();
149 m_burn(password, strlen(password)); 149 m_burn(password, strlen(password));
150 150
151 TRACE(("leave cli_auth_password")) 151 TRACE(("leave cli_auth_password"))
152 return 1; /* Password auth can always be tried */
153
154 } 152 }
155 #endif /* ENABLE_CLI_PASSWORD_AUTH */ 153 #endif /* ENABLE_CLI_PASSWORD_AUTH */