summaryrefslogtreecommitdiffstats
path: root/gpg-interface.h
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-10-22 18:38:21 +0200
committerJunio C Hamano <gitster@pobox.com>2018-10-23 08:00:43 +0900
commit4de9394dcb769394f490a0285015a1d26beb54d1 (patch)
treea52c37cadb29730f99005b9a68110619bcb2cd08 /gpg-interface.h
parent3daaaabe7ed22c17bff04d19c711be427bd2e225 (diff)
downloadgit-4de9394dcb769394f490a0285015a1d26beb54d1.tar.gz
git-4de9394dcb769394f490a0285015a1d26beb54d1.tar.xz
gpg-interface.c: obtain primary key fingerprint as well
Obtain the primary key fingerprint off VALIDSIG status message, and expose it via %GP format. Signed-off-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gpg-interface.h')
-rw-r--r--gpg-interface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gpg-interface.h b/gpg-interface.h
index 8ce614fc9..3e624ec28 100644
--- a/gpg-interface.h
+++ b/gpg-interface.h
@@ -24,6 +24,7 @@ struct signature_check {
char *signer;
char *key;
char *fingerprint;
+ char *primary_key_fingerprint;
};
void signature_check_clear(struct signature_check *sigc);