gpg-interface.c: use flags to determine key/signer info presence
authorMichał Górny <mgorny@gentoo.org>
Mon, 22 Oct 2018 16:38:19 +0000 (18:38 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Oct 2018 22:58:54 +0000 (07:58 +0900)
Replace the logic used to determine whether key and signer information
is present to use explicit flags in sigcheck_gpg_status[] array. This
is more future-proof, since it makes it possible to add additional
statuses without having to explicitly update the conditions.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found