aboutsummaryrefslogtreecommitdiffstats
path: root/g10/objcache.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-04-12 09:11:09 +0000
committerWerner Koch <[email protected]>2019-04-12 09:11:09 +0000
commit60f384592144de53c9a5f5e11d7f73ce863aa94f (patch)
treed35b772046b32ce70680e6e9bc903d9d886d0176 /g10/objcache.h
parentgpg: Accept also armored data from the WKD. (diff)
downloadgnupg-60f384592144de53c9a5f5e11d7f73ce863aa94f.tar.gz
gnupg-60f384592144de53c9a5f5e11d7f73ce863aa94f.zip
gpg: Cache a once computed fingerprint in PKT_public_key.
* g10/packet.h (PKT_public_key): Add fields fpr and fprlen. * g10/keyid.c (do_fingerprint_md): Remove. (compute_fingerprint): New. (keyid_from_pk): Simplify. (fingerprint_from_pk): Simplify. (hexfingerprint): Avoid using extra array. -- This is similar to what we are doing with the keyid for a long time. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/objcache.h')
0 files changed, 0 insertions, 0 deletions