gpg: Auto-fix a broken trustdb with just the version record.
authorWerner Koch <wk@gnupg.org>
Mon, 26 Mar 2018 16:20:16 +0000 (18:20 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 26 Mar 2018 16:20:16 +0000 (18:20 +0200)
commiteb68c2d3d1b03a18cd24406fa46d4c30cb13d9f7
tree6889beaf65e47ea92f091e5919dc7b6369d0719c
parenta750ebebf35a392f1c72d6aee5618df0d9f25ff7
gpg: Auto-fix a broken trustdb with just the version record.

* g10/tdbio.c (get_trusthashrec): Create hashtable on error.

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