projects
/
gpgme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66c64cf
)
use validated mode.
author
Werner Koch
<wk@gnupg.org>
Thu, 30 Oct 2008 14:41:23 +0000
(14:41 +0000)
committer
Werner Koch
<wk@gnupg.org>
Thu, 30 Oct 2008 14:41:23 +0000
(14:41 +0000)
tests/gpgsm/cms-keylist.c
patch
|
blob
|
history
diff --git
a/tests/gpgsm/cms-keylist.c
b/tests/gpgsm/cms-keylist.c
index cf1788819900a0adcaf3047a306565b9555aeea4..698a9d850db476116c95d0b94909e3f135d6fb03 100644
(file)
--- a/
tests/gpgsm/cms-keylist.c
+++ b/
tests/gpgsm/cms-keylist.c
@@
-63,6
+63,9
@@
main (int argc, char **argv)
fail_if_err (err);
gpgme_set_protocol (ctx, GPGME_PROTOCOL_CMS);
+ gpgme_set_keylist_mode (ctx, (gpgme_get_keylist_mode (ctx)
+ | GPGME_KEYLIST_MODE_VALIDATE));
+
err = gpgme_op_keylist_start (ctx, argc? argv[0]:NULL, 0);
fail_if_err (err);