summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-10-14 14:19:38 +0100
committerMatt Caswell <matt@openssl.org>2020-11-27 11:04:54 +0000
commit5a2674163d99c755ea0eb09501b9eee99e145188 (patch)
tree0f1f494ea2337f2fd43aae334a53e9a39d6cae1d /apps
parent0a68a445ae1a4f87414c08e699895b1a992b8533 (diff)
Deprecate EVP_PKEY_assign_DH and other similar macros
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13138)
Diffstat (limited to 'apps')
-rw-r--r--apps/lib/s_cb.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/apps/lib/s_cb.c b/apps/lib/s_cb.c
index a15e4e9d35..c7994417aa 100644
--- a/apps/lib/s_cb.c
+++ b/apps/lib/s_cb.c
@@ -1450,27 +1450,6 @@ static int security_callback_debug(const SSL *s, const SSL_CTX *ctx,
}
break;
#endif
-#ifndef OPENSSL_NO_DH
- case SSL_SECOP_OTHER_DH:
- {
- DH *dh = other;
- EVP_PKEY *pkey = EVP_PKEY_new();
- int fail = 1;
-
- if (pkey != NULL) {
- if (EVP_PKEY_set1_DH(pkey, dh)) {
- BIO_printf(sdb->out, "%d", EVP_PKEY_bits(pkey));
- fail = 0;
- }
-
- EVP_PKEY_free(pkey);
- }
- if (fail)
- BIO_printf(sdb->out, "s_cb.c:security_callback_debug op=0x%x",
- op);
- break;
- }
-#endif
case SSL_SECOP_OTHER_CERT:
{
if (cert_md) {