summaryrefslogtreecommitdiffstats
path: root/test/bn_rand_range.h
diff options
context:
space:
mode:
authorNeil Horman <nhorman@openssl.org>2024-03-18 14:59:32 -0400
committerTomas Mraz <tomas@openssl.org>2024-04-09 20:42:00 +0200
commite008211ab9e5e50ae691320b65f1f99dd7211502 (patch)
tree35f82a0cb96d0817a23625ae5e9c1baf79a76fa7 /test/bn_rand_range.h
parenta1d45a4217247b870024891bb88c19b2b1809567 (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> (Merged from https://github.com/openssl/openssl/pull/23887) (cherry picked from commit d6a8adeccdb8188517c5a84d35b79ef826176472)
Diffstat (limited to 'test/bn_rand_range.h')
0 files changed, 0 insertions, 0 deletions