summaryrefslogtreecommitdiff
path: root/gpg-interface.h
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-10-22 16:38:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-10-22 23:00:43 (GMT)
commit4de9394dcb769394f490a0285015a1d26beb54d1 (patch)
treea52c37cadb29730f99005b9a68110619bcb2cd08 /gpg-interface.h
parent3daaaabe7ed22c17bff04d19c711be427bd2e225 (diff)
downloadgit-4de9394dcb769394f490a0285015a1d26beb54d1.zip
git-4de9394dcb769394f490a0285015a1d26beb54d1.tar.gz
git-4de9394dcb769394f490a0285015a1d26beb54d1.tar.bz2
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 8ce614f..3e624ec 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);