summaryrefslogtreecommitdiffstats
path: root/test/dsa_no_digest_size_test.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-01-30 07:23:39 +1000
committerPauli <paul.dale@oracle.com>2020-02-12 08:52:41 +1000
commitf41ac0eeab9d2889d44e3acf6ff1e8274d03d73e (patch)
treeba3620a537ece73983886b7449eab118e5869223 /test/dsa_no_digest_size_test.c
parent7f6deaf68e42e979a2084989db2c32193825d1b3 (diff)
Deprecate the low level DSA functions.
Use of the low level DSA functions has been informally discouraged for a long time. We now formally deprecate them. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10977)
Diffstat (limited to 'test/dsa_no_digest_size_test.c')
-rw-r--r--test/dsa_no_digest_size_test.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/dsa_no_digest_size_test.c b/test/dsa_no_digest_size_test.c
index 81a563ad00..3ccf39ca30 100644
--- a/test/dsa_no_digest_size_test.c
+++ b/test/dsa_no_digest_size_test.c
@@ -7,6 +7,12 @@
* https://www.openssl.org/source/license.html
*/
+/*
+ * DSA low level APIs are deprecated for public use, but still ok for
+ * internal use.
+ */
+#include "internal/deprecated.h"
+
#include <stdlib.h>
#include <string.h>