From 94b40fb77c4e345526c2aff1d8f8b9186fb4a179 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Thu, 27 Jun 2019 15:03:55 +0100 Subject: [PATCH] Enable PKCS#3 DH in the providers The default provider now has support for PKCS#3 Diffie-Hellman so we switch libcrypto to using providers for that algorithm. Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/9266) --- crypto/evp/exchange.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/crypto/evp/exchange.c b/crypto/evp/exchange.c index 655d5a1c86..479cc0d42d 100644 --- a/crypto/evp/exchange.c +++ b/crypto/evp/exchange.c @@ -147,10 +147,8 @@ int EVP_PKEY_derive_init_ex(EVP_PKEY_CTX *ctx, EVP_KEYEXCH *exchange) */ if (ctx->pkey != NULL) { switch (ctx->pkey->type) { -#if 0 case EVP_PKEY_DH: break; -#endif default: goto legacy; } -- 2.34.1