gpg: Fix regression in parse_key.
authorWerner Koch <wk@gnupg.org>
Wed, 19 Nov 2014 09:34:32 +0000 (10:34 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 21 Nov 2014 15:13:41 +0000 (16:13 +0100)
commit94a54425144e412bc83e44b7c6323282f49f650f
tree5f321f28a7577a808771a00624795847d4f1afc3
parent9a85b91e925ac0798d56820353bf5858b212277f
gpg: Fix regression in parse_key.

* g10/parse-packet.c (parse): Better return just the gpg_err_code.
(parse_key): Return the error code.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/parse-packet.c