Fix building with a pre C99 compiler.
authorJustus Winter <justus@g10code.com>
Tue, 7 Feb 2017 09:20:58 +0000 (10:20 +0100)
committerJustus Winter <justus@g10code.com>
Tue, 7 Feb 2017 09:20:58 +0000 (10:20 +0100)
commit75d91ffeaf83098ade325bb3b6b2c8a76eb1f6a6
treeff436e7344f653db9139d3f189cd3b34110e039c
parentd1ee9a660571ce4a998c9ab2299d4f2419f99127
Fix building with a pre C99 compiler.

* cipher/cipher-cfb.c (_gcry_cipher_cfb8_encrypt): Move the
declaration of 'i' out of the loop.
(_gcry_cipher_cfb8_decrypt): Likewise.
--
Fixes build on OpenBSD.

Fixes-commit: d1ee9a660571ce4a998c9ab2299d4f2419f99127
Signed-off-by: Justus Winter <justus@g10code.com>
cipher/cipher-cfb.c