Improve error reporting in key exchange provider implementations
authorTomas Mraz <tomas@openssl.org>
Mon, 1 Mar 2021 15:07:15 +0000 (16:07 +0100)
committerPauli <ppzgs1@gmail.com>
Wed, 3 Mar 2021 00:00:21 +0000 (10:00 +1000)
commit77b03f0e8fd97a57f84294d085e7730de5b4da4c
tree611827eee236091cc0837144cfc6155cc487f638
parentf5c629a00aaf47fc1a90b435504662205ec0ee64
Improve error reporting in key exchange provider implementations

Added some error reporting in dh_exch.c and unified error reporting
with it in other key exchange methods.

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14367)
providers/implementations/exchange/dh_exch.c
providers/implementations/exchange/ecdh_exch.c
providers/implementations/exchange/ecx_exch.c