version 1.76, 2001/06/23 15:12:21 |
version 1.77, 2001/06/24 05:35:34 |
|
|
#include "key.h" |
#include "key.h" |
#include "sshconnect.h" |
#include "sshconnect.h" |
#include "authfile.h" |
#include "authfile.h" |
#include "cli.h" |
|
#include "dh.h" |
#include "dh.h" |
#include "authfd.h" |
#include "authfd.h" |
#include "log.h" |
#include "log.h" |
|
|
inst = packet_get_string(NULL); |
inst = packet_get_string(NULL); |
lang = packet_get_string(NULL); |
lang = packet_get_string(NULL); |
if (strlen(name) > 0) |
if (strlen(name) > 0) |
cli_mesg(name); |
log(name); |
if (strlen(inst) > 0) |
if (strlen(inst) > 0) |
cli_mesg(inst); |
log(inst); |
xfree(name); |
xfree(name); |
xfree(inst); |
xfree(inst); |
xfree(lang); |
xfree(lang); |
|
|
prompt = packet_get_string(NULL); |
prompt = packet_get_string(NULL); |
echo = packet_get_char(); |
echo = packet_get_char(); |
|
|
response = cli_prompt(prompt, echo); |
response = read_passphrase(prompt, echo ? RP_ECHO : 0); |
|
|
packet_put_cstring(response); |
packet_put_cstring(response); |
memset(response, 0, strlen(response)); |
memset(response, 0, strlen(response)); |