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 wrap: on
line diff
--- a/src/md5/hmactest.c	Thu Sep 22 15:07:40 2011 +0200
+++ b/src/md5/hmactest.c	Thu Oct 20 10:20:59 2011 +0200
@@ -6,23 +6,23 @@
 #include "hmac_md5.h"
 
 /*
-instead of pad0_copy(d, s, sz) use:
-	memset(d, 0, sz);
-	memcpy(d, s, strlen(s));
-
-static void
-pad0_copy(char *d, char *s, int sz)
-{
-	int i = 0;
-	while (*s && (i < sz)) {
-		*(d++) = *(s++);
-		i++;
-	}
-	while (i <= sz) {
-		*(d++) = 0;
-		i++;
-	}
-}
+**  instead of pad0_copy(d, s, sz) use:
+**  	memset(d, 0, sz);
+**  	memcpy(d, s, strlen(s));
+**  
+**  static void
+**  pad0_copy(char *d, char *s, int sz)
+**  {
+**  	int i = 0;
+**  	while (*s && (i < sz)) {
+**  		*(d++) = *(s++);
+**  		i++;
+**  	}
+**  	while (i <= sz) {
+**  		*(d++) = 0;
+**  		i++;
+**  	}
+**  }
 */
 
 int