projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f1d814
)
Mark SRP_VBASE_get_by_user() as deprecated
author
Matt Caswell
<matt@openssl.org>
Thu, 10 Mar 2016 09:20:06 +0000
(09:20 +0000)
committer
Matt Caswell
<matt@openssl.org>
Thu, 10 Mar 2016 09:29:42 +0000
(09:29 +0000)
The function SRP_VBASE_get_by_user() is declared as deprecated but the
implementation was not.
Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/srp/srp_vfy.c
patch
|
blob
|
history
diff --git
a/crypto/srp/srp_vfy.c
b/crypto/srp/srp_vfy.c
index 0d3da7ef1723768885d95354d96f8daa1856e0be..78db60888efbf6452aa7538a8a05c48d9417beb1 100644
(file)
--- 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.