# HG changeset patch # User Matt Johnston # Date 1094968428 0 # Node ID 18b261b1dea250dbc12b0905f009e63e47fa7a58 # Parent e0acad552a929da306eae8ba1385828fd4ef58fa Don't need to burn the payload buffer since process-packet.c does it diff -r e0acad552a92 -r 18b261b1dea2 svr-authpasswd.c --- 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);