summaryrefslogtreecommitdiff
path: root/test/sm2_internal_test.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-01-28 15:14:18 +1000
committerPauli <paul.dale@oracle.com>2020-02-04 20:02:55 +1000
commit579422c85cf606c0ae1d4baf414010dc21da657a (patch)
treede91afc5811afe2f3f9970afedbae4bafc0ca27b /test/sm2_internal_test.c
parent5e3f9aa4e9a915f25b36bb085515d4786a253385 (diff)
downloadopenssl-new-579422c85cf606c0ae1d4baf414010dc21da657a.tar.gz
Deprecate the ECDSA and EV_KEY_METHOD functions.
Use of the low level ECDSA and EC_KEY_METHOD 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/10960)
Diffstat (limited to 'test/sm2_internal_test.c')
-rw-r--r--test/sm2_internal_test.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/sm2_internal_test.c b/test/sm2_internal_test.c
index 0c626526b1..9188ef7011 100644
--- a/test/sm2_internal_test.c
+++ b/test/sm2_internal_test.c
@@ -7,6 +7,11 @@
* https://www.openssl.org/source/license.html
*/
+/*
+ * 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>