Provider a better error message if we fail to copy parameters
authorMatt Caswell <matt@openssl.org>
Fri, 22 May 2020 13:11:43 +0000 (14:11 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 19 Jun 2020 09:19:32 +0000 (10:19 +0100)
commitdb9592c1f723841586960912c387a925e4547a26
tree30d95d51395727588f2ca51b4186c1c601cdb7a1
parent6136ecaa955506ff5f5fcdbc69976914418d561b
Provider a better error message if we fail to copy parameters

If EVP_PKEY_copy_parameters() failed in libssl we did not provide a very
helpful error message. We provide a better one.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11914)
crypto/err/openssl.txt
include/openssl/sslerr.h
ssl/ssl_err.c
ssl/statem/extensions_clnt.c
ssl/statem/statem_srvr.c