summaryrefslogtreecommitdiffstats
path: root/crypto/srp
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-03-10 10:20:06 +0100
committerMatt Caswell <matt@openssl.org>2016-03-10 10:29:42 +0100
commit1e45206fb9f24293f3673d54f4879eb631dea117 (patch)
tree3e393650cd88cde2d265e7e864fed588e2b22185 /crypto/srp
parentNo need to call EVP_CIPHER_CTX_init after EVP_CIPHER_CTX_new (diff)
downloadopenssl-1e45206fb9f24293f3673d54f4879eb631dea117.tar.xz
openssl-1e45206fb9f24293f3673d54f4879eb631dea117.zip
Mark SRP_VBASE_get_by_user() as deprecated
The function SRP_VBASE_get_by_user() is declared as deprecated but the implementation was not. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/srp')
-rw-r--r--crypto/srp/srp_vfy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/srp/srp_vfy.c b/crypto/srp/srp_vfy.c
index 0d3da7ef17..78db60888e 100644
--- a/crypto/srp/srp_vfy.c
+++ b/crypto/srp/srp_vfy.c
@@ -502,6 +502,7 @@ static SRP_user_pwd *find_user(SRP_VBASE *vb, char *username)
return NULL;
}
+ #if OPENSSL_API_COMPAT < 0x10100000L
/*
* DEPRECATED: use SRP_VBASE_get1_by_user instead.
* This method ignores the configured seed and fails for an unknown user.
@@ -512,6 +513,7 @@ SRP_user_pwd *SRP_VBASE_get_by_user(SRP_VBASE *vb, char *username)
{
return find_user(vb, username);
}
+#endif
/*
* Ownership of the returned pointer is released to the caller.