mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 10:57:01 +00:00
Don't need to burn the payload buffer since process-packet.c does it
--HG-- extra : convert_revision : 12619953d6d88a1b8b0afc4dd5f6e0e2f8b324a0
This commit is contained in:
parent
7ed5870ed9
commit
2575e227a5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user