Fix 'variable may be used uninitialized' warning for CTR mode
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Wed, 7 Nov 2018 17:12:29 +0000 (19:12 +0200)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Wed, 7 Nov 2018 17:12:29 +0000 (19:12 +0200)
commit3f76319803a4abcd33fa29a0ac39f8ed9d646226
tree9934355bfddac234c5eb560643c3fef0bbec7ffe
parent9d6431604b5ee21572c1c2cfa8376e6d81162cbb
Fix 'variable may be used uninitialized' warning for CTR mode

* cipher/cipher-ctr.c (_gcry_cipher_ctr_encrypt): Set N to BLOCKSIZE
before counter loop.
--

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
cipher/cipher-ctr.c