diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpcclient/cmd_lsarpc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/rpcclient/cmd_lsarpc.c b/source3/rpcclient/cmd_lsarpc.c index 0e22b98287..97a707c020 100644 --- a/source3/rpcclient/cmd_lsarpc.c +++ b/source3/rpcclient/cmd_lsarpc.c @@ -859,10 +859,7 @@ static void display_trust_dom_info_4(TRUSTED_DOMAIN_INFO_PASSWORD *p, const char DATA_BLOB data_old = data_blob(NULL, p->old_password.length); memcpy(data.data, p->password.data, p->password.length); - data.length = p->password.length; - memcpy(data_old.data, p->old_password.data, p->old_password.length); - data_old.length = p->old_password.length; pwd = decrypt_trustdom_secret(password, &data); pwd_old = decrypt_trustdom_secret(password, &data_old); |