wolfcrypt/src/siphash.c: in wc_SipHash(), use FALL_THROUGH macro, not /* fall-through */.

This commit is contained in:
Daniel Pouzzner
2022-06-29 18:01:27 -05:00
parent 867a1f7afa
commit b7ec529f61

View File

@ -886,19 +886,19 @@ int wc_SipHash(const unsigned char* key, const unsigned char* in, word32 inSz,
switch (inSz) {
case 7:
b |= (word64)in[6] << 48;
/* fall-through */
FALL_THROUGH;
case 6:
b |= (word64)in[5] << 40;
/* fall-through */
FALL_THROUGH;
case 5:
b |= (word64)in[4] << 32;
/* fall-through */
FALL_THROUGH;
case 4:
b |= (word64)GET_U32(in);
break;
case 3:
b |= (word64)in[2] << 16;
/* fall-through */
FALL_THROUGH;
case 2:
b |= (word64)GET_U16(in);
break;