Home GnuPG
Diffusion GnuPG a571bb8df52d

g10/armor: fix eof checks in radix64_read

Description

g10/armor: fix eof checks in radix64_read

* g10/armor.c (radix64_read): Check EOF with '!afx->buffer_len' instead
of 'c == -1', as 'c' is never set to this value.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Nov 8 2018, 8:31 PM
Parents
rG5d6c080522e1: g10/decrypt-data: use iobuf_read for higher performance
Branches
Unknown
Tags
Unknown