From 947013d91f3ad07b5a2561df68b9412c49a2cf8d Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 30 Oct 2008 14:41:23 +0000 Subject: [PATCH] use validated mode. --- trunk/tests/gpgsm/cms-keylist.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.26.2