Home GnuPG
Diffusion GnuPG 32210e855c46

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
rG190eeb7cce03: po: Update the German translation
Branches
Unknown
Tags
Unknown
Tasks
T4535: gpgsm --sign prints misleading error message when using default key