gpg: Cleanup error code path in case of a bad trustdb.
authorWerner Koch <wk@gnupg.org>
Thu, 4 Jun 2015 15:39:55 +0000 (17:39 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 4 Jun 2015 15:39:55 +0000 (17:39 +0200)
commitf170240ef735edc481f60e51527cbb5ee1acfd55
tree2e6f3a74f2ea779a3c5afb72a0dd1c546cfd91bf
parentbf06d04f53296f4b4b73b9360cf1571559bb2295
gpg: Cleanup error code path in case of a bad trustdb.

* g10/tdbio.c (tdbio_read_record): Fix returning of the error.
--

Actually the returned error will anyway be GPG_ERR_TRUSTDB but the old
code was not correct.

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