* keylist.c (gpgme_op_keylist_start): Do not use a verbose listing.

This commit is contained in:
Werner Koch 2002-02-14 12:43:28 +00:00
parent 89114b8162
commit 9eb5c192b3
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-02-14 Werner Koch <wk@gnupg.org>
* keylist.c (gpgme_op_keylist_start): Do not use a verbose listing.
2002-02-13 Werner Koch <wk@gnupg.org> 2002-02-13 Werner Koch <wk@gnupg.org>
* vasprintf.c, fopencookie.c: Add replacement functions. * vasprintf.c, fopencookie.c: Add replacement functions.

View File

@ -483,7 +483,11 @@ gpgme_op_keylist_start (GpgmeCtx ctx, const char *pattern, int secret_only)
keylist_colon_handler, ctx); keylist_colon_handler, ctx);
if (err) if (err)
goto leave; goto leave;
_gpgme_engine_set_verbosity (ctx->engine, ctx->verbosity);
/* We don't want to use the verbose mode as this will also print
the key signatures which is in most cases not needed and furthermore we
just ignore those lines - This should speed up things */
_gpgme_engine_set_verbosity (ctx->engine, 0);
err = _gpgme_engine_op_keylist (ctx->engine, pattern, secret_only, ctx->keylist_mode); err = _gpgme_engine_op_keylist (ctx->engine, pattern, secret_only, ctx->keylist_mode);