1
0
mirror of https://github.com/fumiama/simple-crypto.git synced 2026-06-06 02:20:22 +08:00

fix error: expected expression before 'for'

This commit is contained in:
源文雨
2022-04-18 23:12:52 +08:00
parent 0af753a54e
commit 95f76aa730

2
md5.c
View File

@@ -51,7 +51,7 @@ static uint32_t to_uint32(const uint8_t *bytes) {
#ifdef WORDS_BIGENDIAN
/* break chunk into sixteen 32-bit words w[j], 0 ≤ j ≤ 15 */
#define break_chunk_into_w(trunk)\
(for(i = 0; i < 16; i++) w[i] = to_uint32((trunk) + i*4))
for(i = 0; i < 16; i++) w[i] = to_uint32((trunk) + i*4)
#else
/* break chunk into sixteen 32-bit words w[j], 0 ≤ j ≤ 15 */
#define break_chunk_into_w(trunk) (w = (uint32_t*)(trunk))