Diffusion GnuPG 8305739fe857

gpg: Fix packet length checking in symkeyenc parser.

Authored by werner on Feb 6 2018, 5:34 PM.

Description

gpg: Fix packet length checking in symkeyenc parser.

* g10/parse-packet.c (parse_symkeyenc): Move error printing to the
end.  Add additional check to cope for the 0je extra bytes needed for
AEAD.