diff options
author | Matt Caswell <matt@openssl.org> | 2021-02-05 11:28:15 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2021-02-12 08:47:32 +0000 |
commit | 6d2a1eff553b0bd463cce008a25506d89280679f (patch) | |
tree | e2e8ba77a7f631a896e84244007caa30aa2aea23 /crypto | |
parent | f2d785364cc8b59ad3b49c5f276b99dcfdc2e7d7 (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 'crypto')
-rw-r--r-- | crypto/srp/srp_lib.c | 3 | ||||
-rw-r--r-- | crypto/srp/srp_vfy.c | 3 |
2 files changed, 6 insertions, 0 deletions
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 <openssl/sha.h> 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" |