gpg: Need to init the trustdb for import.
authorWerner Koch <wk@gnupg.org>
Thu, 6 Mar 2014 15:11:34 +0000 (16:11 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 6 Mar 2014 15:11:34 +0000 (16:11 +0100)
commit23191d7851eae2217ecdac6484349849a24fd94a
tree72ea693b4216ecc0729c4043fd0dcf2967ff1cbd
parent24ba0ce93263c42afb9f087ffcf2edda0b433022
gpg: Need to init the trustdb for import.

* g10/trustdb.c (clear_ownertrusts): Init trustdb.
--

This is actually a hack to fix a bug introduced with commit 2528178.
Debian uses it and thus we should do too.

GnuPG-bug-id: 1622
g10/trustdb.c