summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2021-02-25 16:27:46 +0000
committerMatt Caswell <matt@openssl.org>2021-03-08 15:11:31 +0000
commit8e53d94d9971bb29a303dd2295f2f169b1c9a35e (patch)
treeea9e8f74ceb1b5d9674fdb6a7b23dcc493304189 /test
parentb574c6a9ac96825b4f19c5e835273bf176174af8 (diff)
Ensure the various legacy key EVP_PKEY getters/setters are deprecated
Most of these were already deprecated but a few have been missed. This commit corrects that. Fixes #14303 Fixes #14317 Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14319)
Diffstat (limited to 'test')
-rw-r--r--test/threadstest.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/threadstest.c b/test/threadstest.c
index 2d3927e591..1967ec6dad 100644
--- a/test/threadstest.c
+++ b/test/threadstest.c
@@ -7,6 +7,9 @@
* https://www.openssl.org/source/license.html
*/
+/* test_multi below tests the thread safety of a deprecated function */
+#define OPENSSL_SUPPRESS_DEPRECATED
+
#if defined(_WIN32)
# include <windows.h>
#endif