gpg: Fix NULL-segv for missing tofu DB.
authorWerner Koch <wk@gnupg.org>
Tue, 29 Mar 2016 11:30:19 +0000 (13:30 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 29 Mar 2016 11:30:19 +0000 (13:30 +0200)
commite2c5781788f765815532410a77077ddbb72513e9
treeea052ca56a1a489d045866542555067291c235f4
parentfc30c079a348436868968850dabf653b91f82419
gpg: Fix NULL-segv for missing tofu DB.

* g10/tofu.c (opendb): Guard call to timeout function.
--

GnuPG-bug-id: 2294

Fix not tested but is pretty obvious.

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