diff options
author | Werner Koch <[email protected]> | 2002-06-12 14:34:15 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2002-06-12 14:34:15 +0000 |
commit | 61c97e9fa9c939a76c6fc6be0dc4462cb62f01c5 (patch) | |
tree | e39375b5864f94c29544deb4f4ccdc74da22fdfe /tests/gpgsm/t-keylist.c | |
parent | Add Plugin configuration option to allow for sending of *opaque* signed messa... (diff) | |
download | gpgme-61c97e9fa9c939a76c6fc6be0dc4462cb62f01c5.tar.gz gpgme-61c97e9fa9c939a76c6fc6be0dc4462cb62f01c5.zip |
tests/
* gpgsm/t-keylist.c (doit): Print operation info if available.
gpgme/
* keylist.c (struct keylist_result_s): New.
(_gpgme_release_keylist_result): Release it here
(keylist_status_handler): Handle truncated.
(append_xml_keylistinfo): New.
* gpgme.c (_gpgme_release_result): and use it here.
* types.h: Declare the new type here.
* context.h (struct gpgme_context_s): Use it here.
Diffstat (limited to 'tests/gpgsm/t-keylist.c')
-rw-r--r-- | tests/gpgsm/t-keylist.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/gpgsm/t-keylist.c b/tests/gpgsm/t-keylist.c index 21fca7c2..bb14ee8d 100644 --- a/tests/gpgsm/t-keylist.c +++ b/tests/gpgsm/t-keylist.c @@ -91,6 +91,19 @@ doit ( GpgmeCtx ctx, const char *pattern ) } if ( err != GPGME_EOF ) fail_if_err (err); + + { + char *p; + + p = gpgme_get_op_info (ctx, 0); + if (p) + { + fputs ("<!-- begin operation info -->\n", stdout); + fputs (p, stdout); + fputs ("<!-- end operation info -->\n", stdout); + free (p); + } + } } |