[openssl-commits] [openssl] master update

Matt Caswell matt at openssl.org
Tue May 5 21:30:55 UTC 2015


The branch master has been updated
       via  b1ad95e328fd7de5aad72fc6fdcbefd6bf05c3fe (commit)
      from  2ed42bf639b12a2ec5bcc24ef5a45a1ca027ec95 (commit)


- Log -----------------------------------------------------------------
commit b1ad95e328fd7de5aad72fc6fdcbefd6bf05c3fe
Author: Matt Caswell <matt at openssl.org>
Date:   Tue May 5 22:09:01 2015 +0100

    Fix windows build
    
    Fix error in WIN32_rename() introduced by commit b4faea50c35.
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 apps/apps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/apps.c b/apps/apps.c
index 797e250..53b76e9 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;


More information about the openssl-commits mailing list