summaryrefslogtreecommitdiff
path: root/deps/openssl/openssl/apps/rand.c
diff options
context:
space:
mode:
Diffstat (limited to 'deps/openssl/openssl/apps/rand.c')
-rw-r--r--deps/openssl/openssl/apps/rand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/openssl/openssl/apps/rand.c b/deps/openssl/openssl/apps/rand.c
index 96dcb7273a..eddb8af8d7 100644
--- a/deps/openssl/openssl/apps/rand.c
+++ b/deps/openssl/openssl/apps/rand.c
@@ -198,7 +198,7 @@ int MAIN(int argc, char **argv)
chunk = num;
if (chunk > (int)sizeof(buf))
- chunk = sizeof buf;
+ chunk = sizeof(buf);
r = RAND_bytes(buf, chunk);
if (r <= 0)
goto err;