summaryrefslogtreecommitdiff
path: root/lib/util/data_blob.c
AgeCommit message (Collapse)AuthorFilesLines
2010-05-18Change data_blob() to be based on top of data_blob_talloc(), instead of the ↵Jeremy Allison1-15/+10
reverse (as it is now). It makes no sense to talloc off the null context, then talloc steal into the required context - just talloc off the correct context, and change data_blob() to pass in the null context to data_blob_talloc(). Jeremy. Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-29lib/util: remove data_blob_talloc_reference()Stefan Metzmacher1-17/+0
We want to avoid the usage of talloc_reference() in Samba. metze
2009-11-12lib/util Split data_blob_hex_string() into upper and lowerAndrew Bartlett1-1/+18
Rather than have a repeat of the bugs we found at the plugfest where hexidecimal strings must be in upper or lower case in particular places, ensure that each caller chooses which case they want. This reverts most of the callers back to upper case, as things were before tridge's patch. The critical call in the extended DN code is of course handled in lower case. Andrew Bartlett
2009-09-22s4-util: windows only accepts lowercase hex encodings for extended DNsAndrew Tridgell1-1/+4
2008-10-13Add data_blob_string_const_null() function that includes the terminatingJelmer Vernooij1-0/+12
null byte and use it in Samba 3. This matches the behaviour prior to my data_blob changes.
2008-10-12Share data_blob implementation.Jelmer Vernooij1-0/+2
2008-10-11Move lib/util from source4 to top-level libutil.Jelmer Vernooij1-0/+232
Conflicts: source4/Makefile