ec_kmgmt.c: check the return of BN_CTX_get() in time.
authorxkernel <xkernel.wang@foxmail.com>
Wed, 14 Dec 2022 16:22:40 +0000 (00:22 +0800)
committerTomas Mraz <tomas@openssl.org>
Thu, 22 Dec 2022 11:15:49 +0000 (12:15 +0100)
commit467b0492c1e597857b30b91ed72605387aa9825b
tree081580090e1db346dd69477467197b61e510e104
parent0e4e03c8528ab54a5b125582afdf2cdadfb6c9bb
ec_kmgmt.c: check the return of BN_CTX_get() in time.

If x and y are all NULL, then it is unnecessary to do subsequent operations.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19905)
providers/implementations/keymgmt/ec_kmgmt.c