X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=gcrypt.c;h=f4d4cc6f9d20678ef5a6fa5b41672db108ea2345;hp=2a1a90d357dc3fd3cc81803bd0a8ce46a2734f71;hb=4939f46c7b4c334356c6820a7b57d094ad20c40a;hpb=62a2e10a42e4f9b6556ba7e58f70f52ffa3dfa99 diff --git a/gcrypt.c b/gcrypt.c index 2a1a90d3..f4d4cc6f 100644 --- a/gcrypt.c +++ b/gcrypt.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011-2013 Andre Noll + * Copyright (C) 2011-2014 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -26,7 +26,7 @@ static void dump_buffer(const char *msg, unsigned char *buf, int len) { int i; - fprintf(stderr, "%s (%u bytes): ", msg, len); + fprintf(stderr, "%s (%d bytes): ", msg, len); for (i = 0; i < len; i++) fprintf(stderr, "%02x ", buf[i]); fprintf(stderr, "\n"); @@ -97,7 +97,7 @@ static void mgf1(unsigned char *seed, size_t seed_len, unsigned result_len, { gcry_error_t gret; gcry_md_hd_t handle; - size_t n;; + size_t n; unsigned char *md; unsigned char octet_string[4], *rp = result, *end = rp + result_len;