diff options
author | Nicola Tuveri <nic.tuv@gmail.com> | 2020-11-09 23:34:00 +0200 |
---|---|---|
committer | Nicola Tuveri <nic.tuv@gmail.com> | 2021-01-08 23:59:02 +0200 |
commit | 4554988e582e676a51c451de031939b45e60d00c (patch) | |
tree | 52f7472c375dc3c8909c6f4666fa7a4993aaf00f /crypto | |
parent | ed37336b6383cacbcbb8f6b1334eba0ad43530d5 (diff) |
[test][pkey_check] Add invalid SM2 key test
SM2 private keys have different validation requirements than EC keys:
this test checks one corner case highlighted in
https://github.com/openssl/openssl/issues/8435
As @bbbrumley mentioned in
https://github.com/openssl/openssl/issues/8435#issuecomment-720504282
this only fixes the absence of a regression test for validation of this
kind of boundary issues for decoded SM2 keys.
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13359)
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions