Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.24 /fs/cifs/md5.c

Filename:/fs/cifs/md5.c
Lines Added:4
Lines Deleted:4
Also changed in: (Previous) 2.6.24-rc8  2.6.24-rc7  2.6.24-rc6  2.6.24-rc5  2.6.24-rc4  2.6.24-rc3 
(Following) 2.6.25-rc3-git6  2.6.25-rc4  2.6.25-rc5  2.6.25-rc6  2.6.25-rc7  2.6.25-rc8 

Location
[  2.6.24
  [  fs
    [  cifs
       o  md5.c

Patch

diff --git a/fs/cifs/md5.c b/fs/cifs/md5.c
index e5c3e12..f13f96d 100644
--- a/fs/cifs/md5.c
+++ b/fs/cifs/md5.c
@@ -276,8 +276,8 @@ hmac_md5_init_rfc2104(unsigned char *key, int key_len,
    }
 
    /* start out by storing key in pads */
-   memset(ctx->k_ipad, 0, sizeof (ctx->k_ipad));
-   memset(ctx->k_opad, 0, sizeof (ctx->k_opad));
+   memset(ctx->k_ipad, 0, sizeof(ctx->k_ipad));
+   memset(ctx->k_opad, 0, sizeof(ctx->k_opad));
    memcpy(ctx->k_ipad, key, key_len);
    memcpy(ctx->k_opad, key, key_len);
 
@@ -307,8 +307,8 @@ hmac_md5_init_limK_to_64(const unsigned char *key, int key_len,
    }
 
    /* start out by storing key in pads */
-   memset(ctx->k_ipad, 0, sizeof (ctx->k_ipad));
-   memset(ctx->k_opad, 0, sizeof (ctx->k_opad));
+   memset(ctx->k_ipad, 0, sizeof(ctx->k_ipad));
+   memset(ctx->k_opad, 0, sizeof(ctx->k_opad));
    memcpy(ctx->k_ipad, key, key_len);
    memcpy(ctx->k_opad, key, key_len);
 


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.