projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use the private RNG for data that is not public
[openssl.git]
/
crypto
/
srp
/
srp_vfy.c
diff --git
a/crypto/srp/srp_vfy.c
b/crypto/srp/srp_vfy.c
index 56ae94b19608bc25c59e2de4fe6159b0fb958990..b85033b3058d6ccf61f8b4cbba0697265d11515a 100644
(file)
--- a/
crypto/srp/srp_vfy.c
+++ b/
crypto/srp/srp_vfy.c
@@
-422,7
+422,7
@@
SRP_user_pwd *SRP_VBASE_get1_by_user(SRP_VBASE *vb, char *username)
if (!SRP_user_pwd_set_ids(user, username, NULL))
goto err;
- if (RAND_bytes(digv, SHA_DIGEST_LENGTH) <= 0)
+ if (RAND_
priv_
bytes(digv, SHA_DIGEST_LENGTH) <= 0)
goto err;
ctxt = EVP_MD_CTX_new();
if (ctxt == NULL