mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +08:00
d6a8adeccd
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) |
||
---|---|---|
.. | ||
build.info | ||
sm2_crypt.c | ||
sm2_err.c | ||
sm2_key.c | ||
sm2_sign.c |