From bf8716058fd535ccec14727f58cf1fcf032695a2 Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Thu, 12 Jul 2012 12:24:01 -0600 Subject: [PATCH] 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). --- stripkey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2