Fix s_server app to not report an error when using a non DH certificate.
authorShane Lontis <shane.lontis@oracle.com>
Wed, 9 Jun 2021 07:34:55 +0000 (17:34 +1000)
committerTomas Mraz <tomas@openssl.org>
Thu, 10 Jun 2021 15:58:27 +0000 (17:58 +0200)
commitef0449135c4e4e7f04bbeafbd76ce7b5c0518088
tree2d3f76716b0dc63313a35a3ea8da49cf5effe7f3
parentbedda72ff771a41c317daa7bdb7cbe14608fbc03
Fix s_server app to not report an error when using a non DH certificate.

Fixes #15071

It always tries loading the cert as DH which previously did not produce
an error. The errors are not suppressed for these operations.
The output now matches previous versions of OpenSSL.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15670)
apps/include/apps.h
apps/lib/apps.c
apps/s_server.c