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