Fix ec keygen so that it passes the library context to SSL_SELF_TEST_get_callback().
authorShane Lontis <shane.lontis@oracle.com>
Tue, 15 Sep 2020 04:45:49 +0000 (14:45 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Sat, 19 Sep 2020 08:21:10 +0000 (18:21 +1000)
commit7889e7aef821c0c9917188d59f53253645c07928
tree895a1eb9eda2dbea45a7499e30f20a2b427d63ec
parentf8e747471ebb5e6d65264de91e26fbc439841bc4
Fix ec keygen so that it passes the library context to SSL_SELF_TEST_get_callback().

This was written before the ec key contained a library context,
now that it contains a libctx it can be passed correctly to the callback.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12877)
crypto/ec/ec_key.c
include/crypto/ec.h