diff options
author | Neil Horman <nhorman@openssl.org> | 2024-03-18 14:59:32 -0400 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-05-02 17:44:02 +0200 |
commit | 1316aa05aae57cf47d8c8bfca38aaa042db1518f (patch) | |
tree | 50e309ea9f8ba35374075c32deb38e43fe5bab51 /doc/man7/EVP_PKEY-SM2.pod | |
parent | e4a87616c07aa5e9bc32fa815e5ead4c17ce8fd9 (diff) |
Add check for public key presence on sm2 signing
SM2 requires that the public EC_POINT be present in a key when signing.
If its not there we crash on a NULL pointer. Add a check to ensure that
its present, and raise an error if its not
Reviewed-by: Paul Yang <kaishen.yy@antfin.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24078)
Diffstat (limited to 'doc/man7/EVP_PKEY-SM2.pod')
0 files changed, 0 insertions, 0 deletions