common: Move hex_decode_talloc() to the lock helper
authorMartin Schwenke <martin@meltin.net>
Wed, 6 Aug 2014 06:36:58 +0000 (16:36 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Fri, 27 Mar 2015 02:52:52 +0000 (13:52 +1100)
commitfc36f1b715874e3d255b71b423315170db279c0b
tree61447e284cf6adae138bc83c9cf6262b83c90310
parent7e77433116e291c0bac6e2685c0811e3530bcbd7
common: Move hex_decode_talloc() to the lock helper

This is the only place it is used.

After migrating to Samba's lib/util, the lock helper can be changed to
use strhex_to_data_blob().

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(Imported from commit 94a5e28ffb53a268865666038678e78cbbb39de3)
include/internal/includes.h
lib/util/util_file.c
server/ctdb_lock_helper.c