aboutsummaryrefslogtreecommitdiffstats
path: root/common/stringhelp.c
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-08-10 14:41:22 +0000
committerJustus Winter <[email protected]>2016-08-10 14:50:29 +0000
commita27410a251cd25ca96cd6743969c4db0a0fd553f (patch)
treed95d648babaaf0cd93878cc98435d5b6aec8bca7 /common/stringhelp.c
parenttests: Fix distcheck. (diff)
downloadgnupg-a27410a251cd25ca96cd6743969c4db0a0fd553f.tar.gz
gnupg-a27410a251cd25ca96cd6743969c4db0a0fd553f.zip
g10: Fix opening of trust database.
* g10/tdbio.c (tdbio_set_dbname): This function explicitly checks for the file size, but handled the case of a zero-sized file incorrectly by returning success. Fix this by initializing the database in that case. * tests/openpgp/Makefile.am (XTESTS): Add new test. * tests/openpgp/issue2417.scm: New file. GnuPG-bug-id: 2417 Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'common/stringhelp.c')
0 files changed, 0 insertions, 0 deletions