From 6d2a1eff553b0bd463cce008a25506d89280679f Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Fri, 5 Feb 2021 11:28:15 +0000 Subject: 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 (Merged from https://github.com/openssl/openssl/pull/14132) --- crypto/srp/srp_lib.c | 3 +++ crypto/srp/srp_vfy.c | 3 +++ 2 files changed, 6 insertions(+) (limited to 'crypto/srp') diff --git a/crypto/srp/srp_lib.c b/crypto/srp/srp_lib.c index ad180f2746..38bde78bfa 100644 --- a/crypto/srp/srp_lib.c +++ b/crypto/srp/srp_lib.c @@ -11,6 +11,9 @@ * for the EdelKey project. */ +/* All the SRP APIs in this file are deprecated */ +#define OPENSSL_SUPPRESS_DEPRECATED + #ifndef OPENSSL_NO_SRP # include "internal/cryptlib.h" # include diff --git a/crypto/srp/srp_vfy.c b/crypto/srp/srp_vfy.c index f9053b4c11..1dd0c554f4 100644 --- a/crypto/srp/srp_vfy.c +++ b/crypto/srp/srp_vfy.c @@ -11,6 +11,9 @@ * for the EdelKey project. */ +/* All the SRP APIs in this file are deprecated */ +#define OPENSSL_SUPPRESS_DEPRECATED + #ifndef OPENSSL_NO_SRP # include "internal/cryptlib.h" # include "crypto/evp.h" -- cgit v1.2.3