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