masqmail
diff src/md5/hmactest.c @ 367:b27f66555ba8
Reformated multiline comments to have leading asterisks on each line
Now we use:
/*
** comment
*/
This makes the indent style simpler, too.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Thu, 20 Oct 2011 10:20:59 +0200 |
parents | 41958685480d |
children |
line diff
1.1 --- a/src/md5/hmactest.c Thu Sep 22 15:07:40 2011 +0200 1.2 +++ b/src/md5/hmactest.c Thu Oct 20 10:20:59 2011 +0200 1.3 @@ -6,23 +6,23 @@ 1.4 #include "hmac_md5.h" 1.5 1.6 /* 1.7 -instead of pad0_copy(d, s, sz) use: 1.8 - memset(d, 0, sz); 1.9 - memcpy(d, s, strlen(s)); 1.10 - 1.11 -static void 1.12 -pad0_copy(char *d, char *s, int sz) 1.13 -{ 1.14 - int i = 0; 1.15 - while (*s && (i < sz)) { 1.16 - *(d++) = *(s++); 1.17 - i++; 1.18 - } 1.19 - while (i <= sz) { 1.20 - *(d++) = 0; 1.21 - i++; 1.22 - } 1.23 -} 1.24 +** instead of pad0_copy(d, s, sz) use: 1.25 +** memset(d, 0, sz); 1.26 +** memcpy(d, s, strlen(s)); 1.27 +** 1.28 +** static void 1.29 +** pad0_copy(char *d, char *s, int sz) 1.30 +** { 1.31 +** int i = 0; 1.32 +** while (*s && (i < sz)) { 1.33 +** *(d++) = *(s++); 1.34 +** i++; 1.35 +** } 1.36 +** while (i <= sz) { 1.37 +** *(d++) = 0; 1.38 +** i++; 1.39 +** } 1.40 +** } 1.41 */ 1.42 1.43 int