projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ed42bf
)
Fix windows build
author
Matt Caswell
<matt@openssl.org>
Tue, 5 May 2015 21:09:01 +0000
(22:09 +0100)
committer
Matt Caswell
<matt@openssl.org>
Tue, 5 May 2015 21:16:08 +0000
(22:16 +0100)
Fix error in WIN32_rename() introduced by commit
b4faea50c35
.
Reviewed-by: Rich Salz <rsalz@openssl.org>
apps/apps.c
patch
|
blob
|
history
diff --git
a/apps/apps.c
b/apps/apps.c
index 797e250c65f2526e4de86e8a8b22dd6c6d329867..53b76e9f5d124253b72010b9e0ca666acd52ffdd 100644
(file)
--- a/
apps/apps.c
+++ b/
apps/apps.c
@@
-2365,7
+2365,7
@@
static int WIN32_rename(const char *from, const char *to)
} else { /* UNICODE path */
size_t i, flen = strlen(from) + 1, tlen = strlen(to) + 1;
- tfrom = malloc(
*
sizeof(*tfrom) * (flen + tlen));
+ tfrom = malloc(sizeof(*tfrom) * (flen + tlen));
if (tfrom == NULL)
goto err;
tto = tfrom + flen;