Home GnuPG

cipher:pubkey: Check digest size which should not be zero.

Description

cipher:pubkey: Check digest size which should not be zero.

* cipher/pubkey.c (gcry_pk_sign_md): Check the digest size
before calling _gcry_md_read.
  • GnuPG-bug-id: T6539
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details