dirmngr: Fix NULL-deref while loading a CRL.
authorWerner Koch <wk@gnupg.org>
Wed, 28 Oct 2015 10:57:00 +0000 (11:57 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 28 Oct 2015 10:57:00 +0000 (11:57 +0100)
commitfa15a71daff8414bf4112bc2826dc495ff2fb01f
tree69b370dc8b7d0dc242a4ff3ef2cdaa3c079d5516
parent1f872cb4ad2d3dcc3598fed689504c9731600caa
dirmngr: Fix NULL-deref while loading a CRL.

* dirmngr/crlcache.c (crl_parse_insert): Set error before leaping to
failure.
--

GnuPG-bug-id: 2082
Signed-off-by: Werner Koch <wk@gnupg.org>
dirmngr/crlcache.c