diff options
author | Matt Caswell <matt@openssl.org> | 2015-05-05 23:09:01 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-05-05 23:16:08 +0200 |
commit | b1ad95e328fd7de5aad72fc6fdcbefd6bf05c3fe (patch) | |
tree | 1b373be6c11704208669ba340bb1477fd8485043 /apps/apps.c | |
parent | make update (diff) | |
download | openssl-b1ad95e328fd7de5aad72fc6fdcbefd6bf05c3fe.tar.xz openssl-b1ad95e328fd7de5aad72fc6fdcbefd6bf05c3fe.zip |
Fix windows build
Fix error in WIN32_rename() introduced by commit b4faea50c35.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'apps/apps.c')
-rw-r--r-- | apps/apps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/apps.c b/apps/apps.c index 797e250c65..53b76e9f5d 100644 --- 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; |