From b44924175a4241243d05cad68b8754a3dbeaa917 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 14 Nov 2014 03:22:30 +0100 Subject: Update todo + fix potential dubble free on error + add support for --hex-input MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/common.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/common.h') diff --git a/src/common.h b/src/common.h index c90a9e4..0882c6a 100644 --- a/src/common.h +++ b/src/common.h @@ -69,13 +69,14 @@ * @param suffix The message suffix * @param representation Either of `REPRESENTATION_BINARY`, `REPRESENTATION_UPPER_CASE` * and `REPRESENTATION_LOWER_CASE` + * @param hex Whether to use hexadecimal input rather than binary * @param verbose Whether to print the hashing parameters * @param execname `argv[0]` from `main` * @return Zero on succes, an appropriate exit value on error */ int print_checksum(const char* restrict filename, libkeccak_generalised_spec_t* restrict gspec, - long squeezes, const char* restrict suffix, int representation, int verbose, - const char* restrict execname); + long squeezes, const char* restrict suffix, int representation, int hex, + int verbose, const char* restrict execname); /** -- cgit v1.2.3-70-g09d2