From c789e91dab505a27d3fe58938fd2dd954b55660e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Tue, 6 Sep 2005 14:10:53 +0200 Subject: [PATCH] (main): With --hash, output a newline after each hash. Rev: src/nettle/tools/sexp-conv.c:1.18 --- tools/sexp-conv.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); -- GitLab