summaryrefslogtreecommitdiff
path: root/source4/auth/ntlmssp
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-06-27 17:55:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:09:35 -0500
commit0646a91bc9e004340026f2dbe082e057416eb1e6 (patch)
treef6ccd147c123595083ff493f01970ab6c1b3cb92 /source4/auth/ntlmssp
parentca044dcd3a8eb7bfa8da05a88bf4346ccd135221 (diff)
downloadsamba-0646a91bc9e004340026f2dbe082e057416eb1e6.tar.gz
samba-0646a91bc9e004340026f2dbe082e057416eb1e6.tar.bz2
samba-0646a91bc9e004340026f2dbe082e057416eb1e6.zip
r16569: - use push_string()
metze (This used to be commit f099fcb6e3a38d6df22cb3a0c7c666333e41f11b)
Diffstat (limited to 'source4/auth/ntlmssp')
-rw-r--r--source4/auth/ntlmssp/ntlmssp_parse.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/auth/ntlmssp/ntlmssp_parse.c b/source4/auth/ntlmssp/ntlmssp_parse.c
index 4fbfede350..9c711c0a14 100644
--- a/source4/auth/ntlmssp/ntlmssp_parse.c
+++ b/source4/auth/ntlmssp/ntlmssp_parse.c
@@ -238,8 +238,8 @@ BOOL msrpc_parse(TALLOC_CTX *mem_ctx, const DATA_BLOB *blob,
return False;
if (0 < len1) {
- pull_ucs2(p, blob->data + ptr, sizeof(p),
- len1, STR_NOALIGN);
+ pull_string(p, blob->data + ptr, sizeof(p),
+ len1, STR_UNICODE|STR_NOALIGN);
(*ps) = talloc_strdup(mem_ctx, p);
if (!(*ps)) {
return False;
@@ -268,8 +268,8 @@ BOOL msrpc_parse(TALLOC_CTX *mem_ctx, const DATA_BLOB *blob,
return False;
if (0 < len1) {
- pull_ascii(p, blob->data + ptr, sizeof(p),
- len1, STR_NOALIGN);
+ pull_string(p, blob->data + ptr, sizeof(p),
+ len1, STR_ASCII|STR_NOALIGN);
(*ps) = talloc_strdup(mem_ctx, p);
if (!(*ps)) {
return False;