summaryrefslogtreecommitdiffstats
path: root/test/dhtest.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-02-03 19:05:31 +1000
committerPauli <paul.dale@oracle.com>2020-02-20 19:04:57 +1000
commitada66e78ef535fe80e422bbbadffe8e7863d457c (patch)
treec9caa2b3cd516d99937b02d50e16fc0dda1509b8 /test/dhtest.c
parent0ad05b190ebb3a62f8519c8c4c721304c2405849 (diff)
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 <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/11024)
Diffstat (limited to 'test/dhtest.c')
-rw-r--r--test/dhtest.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/dhtest.c b/test/dhtest.c
index a357d0262f..b3e2e2fdcb 100644
--- a/test/dhtest.c
+++ b/test/dhtest.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 <stdio.h>
#include <stdlib.h>
#include <string.h>