summaryrefslogtreecommitdiff
path: root/svr-authpasswd.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-09-12 05:52:36 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-09-12 05:52:36 +0000
commit984df631ee85d54da82b94c308a3aad0dfcc18e7 (patch)
tree43d1b8a2e0ec17756ae06cf41c4ef7819becb72e /svr-authpasswd.c
parent1ecf6e912f5677c08be22065da148ee60dcfbbfa (diff)
downloaddropbear-984df631ee85d54da82b94c308a3aad0dfcc18e7.tar.gz
propagate of 08347df3bca787bd3621602fe2b466c85c9dc3e2 and 717950f4061f1123659ee87c7c168805af920ab7 from branch 'matt.dbclient.rez' to 'matt.dbclient.authpam'
Diffstat (limited to 'svr-authpasswd.c')
-rw-r--r--svr-authpasswd.c4
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);