From 9eb5c192b3a13a7b32fe95c8d5f7aaead78274f6 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 14 Feb 2002 12:43:28 +0000 Subject: [PATCH] * keylist.c (gpgme_op_keylist_start): Do not use a verbose listing. --- gpgme/ChangeLog | 4 ++++ gpgme/keylist.c | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) 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); -- 2.26.2