From: Niels Möller Date: Tue, 6 Sep 2005 12:10:53 +0000 (+0200) Subject: (main): With --hash, output a newline after X-Git-Tag: nettle_1.13_release_20051006~48 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c789e91dab505a27d3fe58938fd2dd954b55660e;p=thirdparty%2Fnettle.git (main): With --hash, output a newline after each hash. Rev: src/nettle/tools/sexp-conv.c:1.18 --- diff --git a/tools/sexp-conv.c b/tools/sexp-conv.c index d4b152b6..99646031 100644 --- a/tools/sexp-conv.c +++ b/tools/sexp-conv.c @@ -362,7 +362,10 @@ main(int argc, char **argv) { sexp_convert_item(&parser, &token, &output, options.mode, 0); if (options.hash) - sexp_put_digest(&output); + { + sexp_put_digest(&output); + sexp_put_newline(&output, 0); + } else if (options.mode != SEXP_CANONICAL) sexp_put_newline(&output, 0);