Don't downgrade keys in libssl
authorMatt Caswell <matt@openssl.org>
Tue, 2 Jun 2020 07:57:26 +0000 (08:57 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 5 Jun 2020 10:04:11 +0000 (11:04 +0100)
commit7b2d995ed79f0653defd682e5097ed937f4cabbc
tree3790348b098fc259f3ae11e1505b54e9eaa5e2b4
parent7fa2b2673edd684ceb94ff19346f08121da9774f
Don't downgrade keys in libssl

We were downgrading to legacy keys at various points in libssl in
order to get or set an encoded point. Now that the encoded point
functions work with provided keys this is no longer necessary.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11898)
ssl/statem/extensions_clnt.c
ssl/statem/extensions_srvr.c
ssl/statem/statem_clnt.c
ssl/statem/statem_srvr.c
ssl/t1_lib.c