be4ff75d7d
* src/gpgme.h.in (struct _gpgme_signature): Remove field 'tofu'. Add field 'key'. (struct _gpgme_key): Add field 'fpr'. (struct _gpgme_user_id): Add field 'tofu'. (struct _gpgme_tofu_info): Remove fields 'address' and 'fpr'. * src/key.c (gpgme_key_unref): Release TOFU and FPR. * src/keylist.c (keylist_colon_handler): Store the fingerprint of the first subkey also in KEY. * src/verify.c (release_tofu_info): Remove. (release_op_data): Release KEY. (parse_tofu_user): Rewrite for new data structure. (parse_tofu_stats): Ditto. (parse_tofu_stats_long): Ditto. * tests/run-verify.c (print_result): Ditto. * tests/run-keylist.c (main): Print more fields. -- TOFU information are now associated with the user ID and not with a separate object. Note that this breaks code relying on the former non-released TOFU feature. The C++ bindings won't work right now. Signed-off-by: Werner Koch <wk@gnupg.org> |
||
---|---|---|
.. | ||
gpg | ||
gpgsm | ||
opassuan | ||
.gitignore | ||
ChangeLog-2011 | ||
Makefile.am | ||
run-decrypt.c | ||
run-encrypt.c | ||
run-export.c | ||
run-identify.c | ||
run-import.c | ||
run-keylist.c | ||
run-sign.c | ||
run-support.h | ||
run-verify.c | ||
start-stop-agent | ||
t-data-1.txt | ||
t-data-2.txt | ||
t-data.c | ||
t-engine-info.c | ||
t-version.c |