summaryrefslogtreecommitdiffstats
path: root/3rdparty/openpgm-svn-r1135/pgm/md5.c.c89.patch
blob: 14d89719e31c2d58a3b1abc771812676891fcaad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- md5.c	2010-05-21 11:32:21.000000000 +0800
+++ md5.c89	2010-08-04 12:19:52.000000000 +0800
@@ -92,6 +92,7 @@
 	pgm_assert (len > 0);
 	pgm_assert (NULL != ctx);
 
+	{
 	uint32_t correct_words[16];
 	const uint32_t *words = buffer;
 	const size_t nwords = len / sizeof (uint32_t);
@@ -243,6 +244,7 @@
 	ctx->B = B;
 	ctx->C = C;
 	ctx->D = D;
+	}
 }
 
 void
@@ -343,6 +345,7 @@
 	pgm_assert (NULL != resbuf);
 
 /* Take yet unprocessed bytes into account.  */
+	{
 	const uint32_t bytes = ctx->buflen;
 	size_t pad;
 
@@ -363,6 +366,7 @@
 	_pgm_md5_process_block (ctx, ctx->buffer, bytes + pad + 8);
 
 	return _pgm_md5_read_ctx (ctx, resbuf);
+	}
 }
 
 /* eof */