From: Werner Koch Date: Thu, 14 Feb 2002 12:43:28 +0000 (+0000) Subject: * keylist.c (gpgme_op_keylist_start): Do not use a verbose listing. X-Git-Tag: V0-3-4~24 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9eb5c192b3a13a7b32fe95c8d5f7aaead78274f6;p=gpgme.git * keylist.c (gpgme_op_keylist_start): Do not use a verbose listing. --- diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index ff07626..732ee3e 100644 --- a/gpgme/ChangeLog +++ b/gpgme/ChangeLog @@ -1,3 +1,7 @@ +2002-02-14 Werner Koch + + * keylist.c (gpgme_op_keylist_start): Do not use a verbose listing. + 2002-02-13 Werner Koch * vasprintf.c, fopencookie.c: Add replacement functions. diff --git a/gpgme/keylist.c b/gpgme/keylist.c index 2ad296f..91bdbc3 100644 --- a/gpgme/keylist.c +++ b/gpgme/keylist.c @@ -483,7 +483,11 @@ gpgme_op_keylist_start (GpgmeCtx ctx, const char *pattern, int secret_only) keylist_colon_handler, ctx); if (err) 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);