X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/21aac40c87e498ae0a8c4c3d0960ca298a89b54c..64459c9813ec87450978d0f89cf36f5491a08f7a:/catcrypt.c diff --git a/catcrypt.c b/catcrypt.c index 08fbb53..4e54712 100644 --- a/catcrypt.c +++ b/catcrypt.c @@ -366,7 +366,7 @@ static int decrypt(int argc, char *argv[]) { "output", OPTF_ARGREQ, 0, 'o' }, { 0, 0, 0, 0 } }; - i = mdwopt(argc, argv, "af:o:qv", opt, 0, 0, 0); + i = mdwopt(argc, argv, "abf:o:qv", opt, 0, 0, 0); if (i < 0) break; switch (i) { case 'a': ef = "pem"; break; @@ -522,7 +522,7 @@ static int decrypt(int argc, char *argv[]) rewind(rfp); dstr_reset(&d); dstr_ensure(&d, 65536); - if (ofp == stdout) printf("DATA\n"); + if (verb && ofp == stdout) printf("DATA\n"); for (;;) { n = fread(d.buf, 1, d.sz, rfp); if (!n) break;