projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RAND_bytes updates
[openssl.git]
/
apps
/
enc.c
diff --git
a/apps/enc.c
b/apps/enc.c
index 3bf4a6eb040384084400564f3f74c80d69a6c8b2..1739b7ec23aecf71ac35dbb7be17861cf69be58d 100644
(file)
--- a/
apps/enc.c
+++ b/
apps/enc.c
@@
-505,7
+505,7
@@
int MAIN(int argc, char **argv)
BIO_printf(bio_err, "invalid hex salt value\n");
goto end;
}
- } else if (RAND_
pseudo_bytes(salt, sizeof salt) <
0)
+ } else if (RAND_
bytes(salt, sizeof salt) <=
0)
goto end;
/*
* If -P option then don't bother writing