Revert wrong fix for ECDSA.
authorNIIBE Yutaka <gniibe@fsij.org>
Wed, 27 Feb 2019 05:40:24 +0000 (14:40 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Wed, 27 Feb 2019 05:40:24 +0000 (14:40 +0900)
commitf37361f86d2228aa5c5b09db188b8c6ba33cc435
treec78e8f894dd2fcfc592aa6a271efbaaf8d090ed8
parent9fea74575085352daec89b64bd36db5df9a05fb8
Revert wrong fix for ECDSA.

* src/certreq.c (ksba_certreq_set_sig_val): Add back MSB handling of
0x80 for ECDSA.

--

This was removed because MSB handling was implemented in gpg-agent for
smartcard (historical reason).  Since gpg-agent should return
consistent result for both of smartcard keys and normal disk keys,
gpg-agent has been fixed to libgcrypt format (with no prefixed 0).

Fixes-commit: 5d9278f3d13050eddd68d8a1c490274a4f631f5f
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
src/certreq.c