mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 10:57:01 +00:00
Forgot to revert echo flag
--HG-- extra : convert_revision : edab4eafef0717badd628115fac4f4e2793ba22d
This commit is contained in:
parent
876b7081d8
commit
a43af44e9c
@ -114,7 +114,7 @@ void recv_msg_userauth_info_request() {
|
|||||||
|
|
||||||
echo = buf_getbool(ses.payload);
|
echo = buf_getbool(ses.payload);
|
||||||
|
|
||||||
if (echo) {
|
if (!echo) {
|
||||||
unsigned char* p = getpass(prompt);
|
unsigned char* p = getpass(prompt);
|
||||||
response = m_strdup(p);
|
response = m_strdup(p);
|
||||||
m_burn(p, strlen(p));
|
m_burn(p, strlen(p));
|
||||||
|
Loading…
Reference in New Issue
Block a user