]> the.earth.li Git - onak.git/commit
Introduce and use a structure to hold OpenPGP fingerprints
authorJonathan McDowell <noodles@earth.li>
Sat, 9 Nov 2013 20:29:15 +0000 (12:29 -0800)
committerJonathan McDowell <noodles@earth.li>
Sat, 9 Nov 2013 20:29:15 +0000 (12:29 -0800)
commit5cb3cfdb9d8caa6d7a4a1979c50c46896957b934
treec2eff7c5278405afdcf6e315b5bb58a07c2611d9
parentec3fd8971e87c82b2768b5b9dcbcd569edc3259b
Introduce and use a structure to hold OpenPGP fingerprints

Fingerprint lengths can be 16 bytes (for v3 keys) or 20 bytes (for v4
keys). Rather than passing around a size and fingerprint buffer separately
use a structure to hold both pieces of information and just pass that
around.
12 files changed:
keyd.c
keydb.c
keydb.h
keydb_dynamic.c
keydb_hkp.c
keydb_keyd.c
keyid.c
keyid.h
keyindex.c
keystructs.h
lookup.c
onak.c