From a8adadbe5b5118d6768953d35b21475b06474412 Mon Sep 17 00:00:00 2001 From: Wilco Baan Hofman Date: Sun, 3 Oct 2010 06:19:12 +0200 Subject: Fix issues addressed by Jelmer: * Add a comment about why the reg_strhex_to_data_blob was added * Fix int which should've been a boolean Signed-off-by: Jelmer Vernooij --- source4/lib/registry/util.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/lib/registry/util.c') diff --git a/source4/lib/registry/util.c b/source4/lib/registry/util.c index 29417f86d3..d1e953951f 100644 --- a/source4/lib/registry/util.c +++ b/source4/lib/registry/util.c @@ -78,6 +78,11 @@ _PUBLIC_ char *reg_val_description(TALLOC_CTX *mem_ctx, reg_val_data_string(mem_ctx, data_type, data)); } +/* + * This implements reading hex bytes that include comma's. + * It was previously handled by strhex_to_data_blob, but that did not cover + * the format used by windows. + */ static DATA_BLOB reg_strhex_to_data_blob(TALLOC_CTX *mem_ctx, const char *str) { DATA_BLOB ret; -- cgit