gpg: Fix regression in packet parser from Aug 19.
authorWerner Koch <wk@gnupg.org>
Sun, 23 Aug 2015 10:17:43 +0000 (12:17 +0200)
committerWerner Koch <wk@gnupg.org>
Sun, 23 Aug 2015 10:17:43 +0000 (12:17 +0200)
commit88317ae8c829bfeb1689415efbd32b7a232d7bd0
tree6c33fce9fcda9e4ffdb668679d6b2739725d7801
parent00def10d365a88ce2d034ea9a5d6be4b03285fa4
gpg: Fix regression in packet parser from Aug 19.

* g10/parse-packet.c (parse): Use an int to compare to -1.  Use
buf32_to_ulong.
--

Regression-due-to: 0add91ae1ca3718e8140af09294c595f47c958d3
Signed-off-by: Werner Koch <wk@gnupg.org>
g10/parse-packet.c