g10: Fix --list-packets.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 28 Jun 2016 06:56:48 +0000 (15:56 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 28 Jun 2016 06:56:48 +0000 (15:56 +0900)
commit52f65281f9743c42a48bf5a3354c9ab0ecdb681a
tree2e35aea8f498ccc4cb8eb0763ed2af9831932ed4
parentb6872353bae778d11730f5d0afd2192750777647
g10: Fix --list-packets.

* g10/gpg.c (main): Call set_packet_list_mode after assignment of
opt.list_packets.
* g10/mainproc.c (do_proc_packets): Don't stop processing with
--list-packets as the comment says.
* g10/options.h (list_packets): Fix the comment.
* g10/parse-packet.c: Fix the condition for opt.list_packets.

--

Debian-bug-id: 828109
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
g10/gpg.c
g10/mainproc.c
g10/options.h
g10/parse-packet.c