summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/samlogon.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-04-12 18:12:20 +1000
committerAndrew Tridgell <tridge@samba.org>2011-04-13 14:47:07 +1000
commit87d2722b84992b27b199d362ac4b9034b4697942 (patch)
tree2411d148674dfa454dcac8e9e40a4ca6ca242da8 /source4/torture/rpc/samlogon.c
parent17ccff973a4136c6bffa2fce68eeb1be53add447 (diff)
downloadsamba-87d2722b84992b27b199d362ac4b9034b4697942.tar.gz
samba-87d2722b84992b27b199d362ac4b9034b4697942.tar.bz2
samba-87d2722b84992b27b199d362ac4b9034b4697942.zip
s4/torture Fix calls to charcnv functions to always supply converted_size
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source4/torture/rpc/samlogon.c')
-rw-r--r--source4/torture/rpc/samlogon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/samlogon.c b/source4/torture/rpc/samlogon.c
index 5650d20485..80828e26a2 100644
--- a/source4/torture/rpc/samlogon.c
+++ b/source4/torture/rpc/samlogon.c
@@ -1180,7 +1180,7 @@ static bool test_plaintext(struct samlogon_state *samlogon_state, enum ntlm_brea
ZERO_STRUCT(user_session_key);
if (!push_ucs2_talloc(samlogon_state->mem_ctx,
- &unicodepw, samlogon_state->password, NULL)) {
+ &unicodepw, samlogon_state->password, &converted_size)) {
DEBUG(0, ("push_ucs2_allocate failed!\n"));
exit(1);
}