From: Jonathan McDowell Date: Thu, 12 Jul 2012 18:24:01 +0000 (-0600) Subject: Dump all the stripped keys at the end, rather than one at a time X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/commitdiff_plain/bf8716058fd535ccec14727f58cf1fcf032695a2?ds=inline Dump all the stripped keys at the end, rather than one at a time We don't need to dump everything as we go, and will end up dumping more than we intend (as we'll dump all of the keys still to go). --- diff --git a/stripkey.c b/stripkey.c index 414c163..13aeb1d 100644 --- a/stripkey.c +++ b/stripkey.c @@ -83,8 +83,8 @@ int main(int argc, char** argv) { } } } - flatten_publickey( key, &packets, &list_end ); } + flatten_publickey( keys, &packets, &list_end ); write_openpgp_stream( stdout_putchar, NULL, packets ); return 0; }