From: Werner Koch Date: Thu, 30 Oct 2008 14:41:23 +0000 (+0000) Subject: use validated mode. X-Git-Tag: gpgme-1.1.8~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9c7489e8d1f3af427eb6612fc425226aba4b6990;p=gpgme.git use validated mode. --- diff --git a/tests/gpgsm/cms-keylist.c b/tests/gpgsm/cms-keylist.c index cf17888..698a9d8 100644 --- 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);