From ada66e78ef535fe80e422bbbadffe8e7863d457c Mon Sep 17 00:00:00 2001 From: Pauli Date: Mon, 3 Feb 2020 19:05:31 +1000 Subject: Deprecate the low level Diffie-Hellman functions. Use of the low level DH functions has been informally discouraged for a long time. We now formally deprecate them. Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/11024) --- providers/implementations/exchange/dh_exch.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'providers/implementations/exchange') diff --git a/providers/implementations/exchange/dh_exch.c b/providers/implementations/exchange/dh_exch.c index 418896e46d..5e71ef4ff0 100644 --- a/providers/implementations/exchange/dh_exch.c +++ b/providers/implementations/exchange/dh_exch.c @@ -7,6 +7,12 @@ * https://www.openssl.org/source/license.html */ +/* + * DH low level APIs are deprecated for public use, but still ok for + * internal use. + */ +#include "internal/deprecated.h" + #include #include #include -- cgit v1.2.3