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 07:06:06 +0000 (16:06 +0900)
commit4f336ed780cc2783395f3ff2b12b3ebb8e097f7b
tree6e83c7db8473d9dfa23040849a7e509baab2deb9
parentfb0e18b38434cbe97dee4c26047a994baf02fe76
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.

--

(backport of master
commit 52f65281f9743c42a48bf5a3354c9ab0ecdb681a)

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