diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-05-10 00:42:06 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-05-18 11:45:31 +0200 |
commit | b8268cf7b0264ea28f684cbdfbf462e68a018d83 (patch) | |
tree | 638192f21ae437a5c59ab2ec4500c9ea8c9f7b54 /source3/lib/util_sid.c | |
parent | f9ca9e46ad24036bf00cb361a6cef4b2e7e98d7d (diff) | |
download | samba-b8268cf7b0264ea28f684cbdfbf462e68a018d83.tar.gz samba-b8268cf7b0264ea28f684cbdfbf462e68a018d83.tar.bz2 samba-b8268cf7b0264ea28f684cbdfbf462e68a018d83.zip |
s3: Remove use of iconv_convenience.
Diffstat (limited to 'source3/lib/util_sid.c')
-rw-r--r-- | source3/lib/util_sid.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/util_sid.c b/source3/lib/util_sid.c index c6c79a2e66..354b14e14a 100644 --- a/source3/lib/util_sid.c +++ b/source3/lib/util_sid.c @@ -396,7 +396,7 @@ bool sid_linearize(char *outbuf, size_t len, const DOM_SID *sid) { size_t i; - if (len < ndr_size_dom_sid(sid, NULL, 0)) + if (len < ndr_size_dom_sid(sid, 0)) return False; SCVAL(outbuf,0,sid->sid_rev_num); @@ -538,7 +538,7 @@ char *sid_binstring(TALLOC_CTX *mem_ctx, const DOM_SID *sid) { uint8_t *buf; char *s; - int len = ndr_size_dom_sid(sid, NULL, 0); + int len = ndr_size_dom_sid(sid, 0); buf = talloc_array(mem_ctx, uint8_t, len); if (!buf) { return NULL; @@ -557,7 +557,7 @@ char *sid_binstring(TALLOC_CTX *mem_ctx, const DOM_SID *sid) char *sid_binstring_hex(const DOM_SID *sid) { char *buf, *s; - int len = ndr_size_dom_sid(sid, NULL, 0); + int len = ndr_size_dom_sid(sid, 0); buf = (char *)SMB_MALLOC(len); if (!buf) return NULL; |