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: gpgme-1.2.0@1385~1082 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=91b6555b0eb771b1e011fa0e285999837e0501d3;p=gpgme.git * keylist.c (gpgme_op_keylist_start): Do not use a verbose listing. --- 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);