When calling EC_POINT_point2buf we must use a libctx
authorMatt Caswell <matt@openssl.org>
Fri, 10 Apr 2020 17:27:11 +0000 (18:27 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 15 Apr 2020 10:31:39 +0000 (11:31 +0100)
commite395ba223d45ead1bafe05bb8c4e19fdbc201bd0
treeaca5733d9259519f20606796ff6fd1f50ce4c68e
parent137b274aee0cd96d64fd68cd393717d6a69ec005
When calling EC_POINT_point2buf we must use a libctx

In a similar way to commit 76e23fc5 we must ensure that we use a libctx
whenever we call EC_POINT_point2buf because it can end up using crypto
algorithms.

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