gpg: Fix comparison.
authorNeal H. Walfield <neal@g10code.com>
Fri, 6 Oct 2017 09:51:39 +0000 (11:51 +0200)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 1 Jul 2022 16:06:43 +0000 (17:06 +0100)
commit8da07f6e93cc072964053a94ae2f849302307736
tree6dadbba2d26dfc7423b2f21dac7d6be141ef4263
parent5ed85875950cce1a4fc802e7b04bf20500a2f880
gpg: Fix comparison.

* g10/gpgcompose.c (literal_name): Complain if passed zero arguments,
not one or fewer.

Signed-off-by: Neal H. Walfield <neal@walfield.org>
(cherry picked from commit 1ed21eee79749b976b4a935f2279b162634e9c5e)

Gbp-Pq: Topic from-2.2.14
Gbp-Pq: Name gpg-Fix-comparison.patch
g10/gpgcompose.c