From 91b6555b0eb771b1e011fa0e285999837e0501d3 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. --- trunk/gpgme/ChangeLog | 4 ++++ trunk/gpgme/keylist.c | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index ff07626..732ee3e 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/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/trunk/gpgme/keylist.c b/trunk/gpgme/keylist.c index 2ad296f..91bdbc3 100644 --- a/trunk/gpgme/keylist.c +++ b/trunk/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