diff -up dovecot-2.2.27/src/lib/sha3.c.than dovecot-2.2.27/src/lib/sha3.c --- dovecot-2.2.27/src/lib/sha3.c.than 2016-12-13 07:46:26.173797063 -0500 +++ dovecot-2.2.27/src/lib/sha3.c 2016-12-13 07:45:47.693129174 -0500 @@ -232,7 +232,7 @@ sha3_finalize(struct sha3_ctx *ctx) SHA3_CONST(0x8000000000000000UL); keccakf(ctx->s); -#ifndef WORDS_BIGENDIAN +#ifdef WORDS_BIGENDIAN { unsigned i; for(i = 0; i < SHA3_KECCAK_SPONGE_WORDS; i++) {