Mercurial > dropbear
changeset 120:18b261b1dea2
Don't need to burn the payload buffer since process-packet.c does it
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 12 Sep 2004 05:53:48 +0000 |
parents | e0acad552a92 |
children | cb7ef2f63bf0 |
files | svr-authpasswd.c |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/svr-authpasswd.c Thu Sep 02 18:36:11 2004 +0000 +++ b/svr-authpasswd.c Sun Sep 12 05:53:48 2004 +0000 @@ -80,10 +80,6 @@ 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);