Diffusion GnuPG 521e7d4644ed

sm: Avoid confusing diagnostic for the default key.

Authored by werner on May 27 2019, 3:44 PM.

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>