diff options
author | Matt Caswell <matt@openssl.org> | 2020-10-14 14:19:38 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-11-27 11:04:54 +0000 |
commit | 5a2674163d99c755ea0eb09501b9eee99e145188 (patch) | |
tree | 0f1f494ea2337f2fd43aae334a53e9a39d6cae1d /apps/lib | |
parent | 0a68a445ae1a4f87414c08e699895b1a992b8533 (diff) | |
download | openssl-5a2674163d99c755ea0eb09501b9eee99e145188.tar.gz |
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/lib')
-rw-r--r-- | apps/lib/s_cb.c | 21 |
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) { |