diff options
author | Matt Johnston <matt@ucc.asn.au> | 2004-09-12 05:53:48 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2004-09-12 05:53:48 +0000 |
commit | 173c4291e7bd5a8a97f58de22c93d7899af90577 (patch) | |
tree | 0dff66480bea08c955c52f8880a6fa38d547251e | |
parent | cce7f0409cfb7a688b68a3e92fcf7c06c700c385 (diff) | |
download | dropbear-173c4291e7bd5a8a97f58de22c93d7899af90577.tar.gz |
Don't need to burn the payload buffer since process-packet.c does it
-rw-r--r-- | svr-authpasswd.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/svr-authpasswd.c b/svr-authpasswd.c index 6f7c909..458deef 100644 --- a/svr-authpasswd.c +++ b/svr-authpasswd.c @@ -80,10 +80,6 @@ void svr_auth_password() { password = buf_getstring(ses.payload, &passwordlen); - /* clear the buffer containing the password */ - buf_incrpos(ses.payload, -passwordlen - 4); - m_burn(buf_getptr(ses.payload, passwordlen + 4), passwordlen + 4); - /* the first bytes of passwdcrypt are the salt */ testcrypt = crypt((char*)password, passwdcrypt); m_burn(password, passwordlen); |