projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
GH271: Warning on </dev/null to CA.pl
[openssl.git]
/
apps
/
speed.c
diff --git
a/apps/speed.c
b/apps/speed.c
index 7a694852dc8117ccced88da4ea271152ada74e00..00c7c4115e2b73beb9d061047abd256b0c3206b8 100644
(file)
--- a/
apps/speed.c
+++ b/
apps/speed.c
@@
-2283,7
+2283,7
@@
static int do_multi(int multi)
int *fds;
static char sep[] = ":";
- fds = malloc(
multi * sizeof *fds
);
+ fds = malloc(
sizeof(*fds) * multi
);
for (n = 0; n < multi; ++n) {
if (pipe(fd) == -1) {
fprintf(stderr, "pipe failure\n");