bn_mod_exp: we have a BN_CTX available...
authortb <tb@openbsd.org>
Fri, 2 Dec 2022 18:24:01 +0000 (18:24 +0000)
committertb <tb@openbsd.org>
Fri, 2 Dec 2022 18:24:01 +0000 (18:24 +0000)
commitc1c6d9ae5bc118c1e8e9971d1f1c35c3ae58405a
treec3151114e4898a3607b5850ca04f1f018d081c62
parent06789c42a86bdea5d3cbcb83f98facd34d8f97c9
bn_mod_exp: we have a BN_CTX available...

Use BN_CTX_get() instead of BN_new()/BN_free().
regress/lib/libcrypto/bn/bn_mod_exp.c