Home GnuPG
Diffusion GnuPG 521e7d4644ed

sm: Avoid confusing diagnostic for the default key.

Description

sm: Avoid confusing diagnostic for the default key.

* sm/certlist.c (cert_usage_p): Add arg 'silent' and change all
callers.
(gpgsm_cert_use_sign_p): Add arg 'silent' and pass to cert_usage_p.
Change all callers.
* sm/sign.c (gpgsm_get_default_cert): Set SILENT when calling
gpgsm_cert_use_sign_p
  • GnuPG-bug-id: T4535
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 27 2019, 3:44 PM
Parents
rGb6289af9738d: gpg: Fixed i18n markup of some strings.
Branches
Unknown
Tags
Unknown
Tasks
T4535: gpgsm --sign prints misleading error message when using default key