use validated mode.
authorWerner Koch <wk@gnupg.org>
Thu, 30 Oct 2008 14:41:23 +0000 (14:41 +0000)
committerWerner Koch <wk@gnupg.org>
Thu, 30 Oct 2008 14:41:23 +0000 (14:41 +0000)
tests/gpgsm/cms-keylist.c

index cf1788819900a0adcaf3047a306565b9555aeea4..698a9d850db476116c95d0b94909e3f135d6fb03 100644 (file)
@@ -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);