diff options
author | David Woodhouse <dwmw2@infradead.org> | 2018-10-16 07:41:17 -0700 |
---|---|---|
committer | Nicola Tuveri <nic.tuv@gmail.com> | 2018-11-10 03:23:14 +0200 |
commit | eb7eb1378cd15c4652884b3701d4c0ef27b5b8a6 (patch) | |
tree | 6b2fa27e2e11695522223d61f2a5606acd71c273 /util | |
parent | e2d227bb4a25bb75354a40816439630a8162f073 (diff) |
Stop marking default digest for EC keys as mandatory
ASN1_PKEY_CTRL_DEFAULT_MD_NID is documented to return 2 for a mandatory
digest algorithm, when the key can't support any others. That isn't true
here, so return 1 instead.
Partially fixes #7348
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7408)
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions