summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2021-02-05 11:28:15 +0000
committerMatt Caswell <matt@openssl.org>2021-02-12 08:47:32 +0000
commit6d2a1eff553b0bd463cce008a25506d89280679f (patch)
treee2e8ba77a7f631a896e84244007caa30aa2aea23 /test
parentf2d785364cc8b59ad3b49c5f276b99dcfdc2e7d7 (diff)
Deprecate the low level SRP APIs
The OTC decided that all low level APIs should be deprecated. This extends to SRP, even though at the current time there is no "EVP" interface to it. This could be added in a future release. Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14132)
Diffstat (limited to 'test')
-rw-r--r--test/srptest.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/srptest.c b/test/srptest.c
index 6a615a43d3..ac42094d65 100644
--- a/test/srptest.c
+++ b/test/srptest.c
@@ -7,6 +7,12 @@
* https://www.openssl.org/source/license.html
*/
+/*
+ * SRP is deprecated, so we're going to have to use some deprecated APIs in
+ * order to test it.
+ */
+#define OPENSSL_SUPPRESS_DEPRECATED
+
#include <openssl/opensslconf.h>
# include "testutil.h"