diff options
author | Werner Koch <[email protected]> | 2002-06-11 15:33:08 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2002-06-11 15:33:08 +0000 |
commit | 6b8917205149d90b69080aaa8a97b109b72041df (patch) | |
tree | 9dba0c8746f805d5aeff533ac3b727b82c2b4fa3 /tests | |
parent | support for listing of external certs (untested) (diff) | |
download | gpgme-6b8917205149d90b69080aaa8a97b109b72041df.tar.gz gpgme-6b8917205149d90b69080aaa8a97b109b72041df.zip |
* gpgme.h: Add GPGME_ATTR_SIG_SUMMARY and the GPGME_SIGSUM_
constants.
* verify.c (calc_sig_summary): New.
(gpgme_get_sig_ulong_attr): And use it here.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ChangeLog | 4 | ||||
-rw-r--r-- | tests/gpgsm/t-verify.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index e1538b33..5ab20b21 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +2002-06-10 Werner Koch <[email protected]> + + * gpgsm/t-verify.c (print_sig_stat): Print the error token. + 2002-06-04 Werner Koch <[email protected]> * gpgsm/t-encrypt.c (main): Add a simple option parser and allow diff --git a/tests/gpgsm/t-verify.c b/tests/gpgsm/t-verify.c index fcd1c678..9ce6678e 100644 --- a/tests/gpgsm/t-verify.c +++ b/tests/gpgsm/t-verify.c @@ -118,8 +118,9 @@ print_sig_stat ( GpgmeCtx ctx, GpgmeSigStat status ) idx, (unsigned long)created, gpgme_get_sig_ulong_attr (ctx, idx, GPGME_ATTR_EXPIRE, 0), status_string(status) ); - printf ("sig %d: fpr/keyid: `%s' validity: %s\n", + printf ("sig %d: fpr/keyid: `%s' exterr: `%s' validity: %s\n", idx, s, + gpgme_get_sig_string_attr (ctx, idx, GPGME_ATTR_ERRTOK, 0), validity_string (gpgme_get_sig_ulong_attr (ctx, idx, GPGME_ATTR_VALIDITY, 0)) ); if ( !gpgme_get_sig_key (ctx, idx, &key) ) { |