From 5a8bf0bec6e63ebd57d0064be65c08ac331ac9e3 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 3 Sep 2008 09:37:32 +0000 Subject: Fix gpg-preset-passphrase bug. Cleanups --- common/util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common/util.h') diff --git a/common/util.h b/common/util.h index 5b564a2c6..572fa1a6a 100644 --- a/common/util.h +++ b/common/util.h @@ -189,6 +189,9 @@ int hex2bin (const char *string, void *buffer, size_t length); int hexcolon2bin (const char *string, void *buffer, size_t length); char *bin2hex (const void *buffer, size_t length, char *stringbuf); char *bin2hexcolon (const void *buffer, size_t length, char *stringbuf); +const char *hex2str (const char *hexstring, + char *buffer, size_t bufsize, size_t *buflen); +char *hex2str_alloc (const char *hexstring, size_t *r_count); /*-- homedir.c --*/ -- cgit v1.2.3