agent: Allow only specific digest size for ECDSA.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 27 Sep 2016 05:01:18 +0000 (14:01 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 27 Sep 2016 05:01:18 +0000 (14:01 +0900)
commit98bc6f480ac973dccce90378dc021a2e24e58704
tree51d546ec49a1c8304d2b6328c7b1bbe5c1dea72f
parentdf5353b95eefc13135e7df50a7c197f270d6080d
agent: Allow only specific digest size for ECDSA.

* agent/pksign.c (do_encode_dsa): Fix validation of digest size.

--

Thanks to Steven Noonan <steven@uplinklabs.net> who offers patches
and a test case.

GnuPG-bug-id: 2702
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
agent/pksign.c