Home GnuPG

Fix building with a pre C99 compiler.
75d91ffeaf83Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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.

Details

Provenance
justusAuthored on Feb 7 2017, 10:20 AM
Parents
rCd1ee9a660571: Implement CFB with 8-bit mode
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rC75d91ffeaf83: Fix building with a pre C99 compiler. (authored by Justus Winter <justus@g10code.com>).Feb 7 2017, 10:20 AM