summaryrefslogtreecommitdiffstats
path: root/lib/util/data_blob.c
Commit message (Collapse)AuthorAgeFilesLines
* Change data_blob() to be based on top of data_blob_talloc(), instead of the ↵Jeremy Allison2010-05-181-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>
* lib/util: remove data_blob_talloc_reference()Stefan Metzmacher2010-01-291-17/+0
| | | | | | We want to avoid the usage of talloc_reference() in Samba. metze
* lib/util Split data_blob_hex_string() into upper and lowerAndrew Bartlett2009-11-121-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
* s4-util: windows only accepts lowercase hex encodings for extended DNsAndrew Tridgell2009-09-221-1/+4
|
* Add data_blob_string_const_null() function that includes the terminatingJelmer Vernooij2008-10-131-0/+12
| | | | | | null byte and use it in Samba 3. This matches the behaviour prior to my data_blob changes.
* Share data_blob implementation.Jelmer Vernooij2008-10-121-0/+2
|
* Move lib/util from source4 to top-level libutil.Jelmer Vernooij2008-10-111-0/+232
Conflicts: source4/Makefile