summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-03-19 21:15:03 +0000
committerLuke Leighton <lkcl@samba.org>1999-03-19 21:15:03 +0000
commit19e22bc8b6d8542567381d9bebdd9337019f7353 (patch)
tree3a55c7e3915d3c802e79da05faee17801e628967 /source3
parent5aeb58c2852ac9dba113d29c0f3e9a3b8a81658c (diff)
downloadsamba-19e22bc8b6d8542567381d9bebdd9337019f7353.tar.gz
samba-19e22bc8b6d8542567381d9bebdd9337019f7353.tar.bz2
samba-19e22bc8b6d8542567381d9bebdd9337019f7353.zip
value->enc_secret not value->secret
(This used to be commit d6cee14f8049471b14337681cbeac115958fbac0)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_parse/parse_lsa.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/source3/rpc_parse/parse_lsa.c b/source3/rpc_parse/parse_lsa.c
index c01664c15c..fc21546c61 100644
--- a/source3/rpc_parse/parse_lsa.c
+++ b/source3/rpc_parse/parse_lsa.c
@@ -448,14 +448,12 @@ void lsa_io_secret_value(char *desc, LSA_SECRET_VALUE *value, prs_struct *ps, in
prs_align(ps);
prs_uint32("ptr_secret", ps, depth, &(value->ptr_secret));
- if (value->ptr_secret == 0)
+ if (value->ptr_secret != 0)
{
- return;
+ smb_io_strhdr2("hdr_secret", &(value->hdr_secret), ps, depth);
+ smb_io_string2("secret" , &(value->enc_secret),
+ value->hdr_secret.buffer, ps, depth);
}
-
- smb_io_strhdr2("hdr_secret", &(value->hdr_secret), ps, depth);
- smb_io_string2("secret" , &(value->secret ),
- value->hdr_secret.buffer, ps, depth);
}
/*******************************************************************