projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Simplify DSA public key handling.
[oweals/openssl.git]
/
crypto
/
rand
/
randtest.c
diff --git
a/crypto/rand/randtest.c
b/crypto/rand/randtest.c
index 267752e4f554ae4a778fab07bad18ba716f075cd..67acf700ee21a878325f96f5cce6d1e709ca94fc 100644
(file)
--- a/
crypto/rand/randtest.c
+++ b/
crypto/rand/randtest.c
@@
-77,8
+77,8
@@
int main(int argc, char **argv)
*/
long d;
- i = RAND_
pseudo_
bytes(buf, 2500);
- if (i < 0) {
+ i = RAND_bytes(buf, 2500);
+ if (i <
=
0) {
printf("init failed, the rand method is not properly installed\n");
err++;
goto err;