diff options
author | Neil Horman <nhorman@openssl.org> | 2024-03-18 14:59:32 -0400 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-04-09 20:42:00 +0200 |
commit | e008211ab9e5e50ae691320b65f1f99dd7211502 (patch) | |
tree | 35f82a0cb96d0817a23625ae5e9c1baf79a76fa7 /test/conf_include_test.c | |
parent | a1d45a4217247b870024891bb88c19b2b1809567 (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/conf_include_test.c')
0 files changed, 0 insertions, 0 deletions