Skip to content
Snippets Groups Projects
Commit c789e91d authored by Niels Möller's avatar Niels Möller
Browse files

(main): With --hash, output a newline after

each hash.

Rev: src/nettle/tools/sexp-conv.c:1.18
parent 14db5951
No related branches found
No related tags found
No related merge requests found
...@@ -362,7 +362,10 @@ main(int argc, char **argv) ...@@ -362,7 +362,10 @@ main(int argc, char **argv)
{ {
sexp_convert_item(&parser, &token, &output, options.mode, 0); sexp_convert_item(&parser, &token, &output, options.mode, 0);
if (options.hash) if (options.hash)
sexp_put_digest(&output); {
sexp_put_digest(&output);
sexp_put_newline(&output, 0);
}
else if (options.mode != SEXP_CANONICAL) else if (options.mode != SEXP_CANONICAL)
sexp_put_newline(&output, 0); sexp_put_newline(&output, 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment