use validated mode.
This commit is contained in:
parent
66c64cfa05
commit
9c7489e8d1
@ -63,6 +63,9 @@ main (int argc, char **argv)
|
|||||||
fail_if_err (err);
|
fail_if_err (err);
|
||||||
gpgme_set_protocol (ctx, GPGME_PROTOCOL_CMS);
|
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);
|
err = gpgme_op_keylist_start (ctx, argc? argv[0]:NULL, 0);
|
||||||
fail_if_err (err);
|
fail_if_err (err);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user