From d7b12004a6e4601bff72be2dcf81f3e2febc2882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 25 Jan 2004 18:24:36 +0000 Subject: [PATCH] (change): use the right password when changing the password git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13284 ec53bebd-3082-4978-b11e-865c3cabbd6b --- kpasswd/kpasswdd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kpasswd/kpasswdd.c b/kpasswd/kpasswdd.c index 7d205cc4d..c3be973c9 100644 --- a/kpasswd/kpasswdd.c +++ b/kpasswd/kpasswdd.c @@ -220,7 +220,7 @@ change (krb5_auth_context auth_context, memset(&chpw, 0, sizeof(chpw)); if (version == KRB5_KPASSWD_VERS_CHANGEPW) { - ret = krb5_copy_data(context, &chpw.newpasswd, &pwd_data); + ret = krb5_copy_data(context, in_data, &pwd_data); if (ret) { krb5_warn (context, ret, "krb5_copy_data"); reply_priv (auth_context, s, sa, sa_size, KRB5_KPASSWD_MALFORMED,