openssl/crypto/sm2
Neil Horman d6a8adeccd 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>
(Merged from https://github.com/openssl/openssl/pull/23887)
2024-04-09 20:38:58 +02:00
..
build.info
sm2_crypt.c Copyright year updates 2024-04-09 13:43:26 +02:00
sm2_err.c
sm2_key.c fix some code with obvious wrong coding style 2021-10-28 13:10:46 +10:00
sm2_sign.c Add check for public key presence on sm2 signing 2024-04-09 20:38:58 +02:00