diff options
author | Werner Koch <[email protected]> | 2016-08-25 09:38:03 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-08-25 09:38:03 +0000 |
commit | 9ee103957e4136337b92d238283f8ef30fd4a7c5 (patch) | |
tree | 28efd68346717ec611619c22bc9f3799f44d29bf /lang/cpp/src/context.cpp | |
parent | core: Adjust for TOFU_STATS change in gnupg 2.1.16. (diff) | |
download | gpgme-9ee103957e4136337b92d238283f8ef30fd4a7c5.tar.gz gpgme-9ee103957e4136337b92d238283f8ef30fd4a7c5.zip |
core: Add GPGME_KEYLIST_MODE_WITH_TOFU.
* src/gpgme.h.in (GPGME_KEYLIST_MODE_WITH_TOFU): New.
* src/engine-gpg.c (gpg_keylist_build_options): Use that.
* src/keylist.c: Include limits.h.
(parse_tfs_record): New.
(keylist_colon_handler): Support TFS record.
* tests/run-keylist.c: Include time.h.
(isotimestr): New.
(main): Add option --tofu. Print TOFU info.
* tests/run-verify.c: Include time.h.
(isotimestr): New.
(print_result): Use isotimestr for TOFU dates.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'lang/cpp/src/context.cpp')
0 files changed, 0 insertions, 0 deletions