aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command-ssh.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-03-26 15:43:40 +0000
committerWerner Koch <[email protected]>2018-03-26 15:55:03 +0000
commit403aa70c52e56614d65490dea9344113f9cf3d29 (patch)
tree98f8593af4c97b8af3fc54764fe0d2a4b740c6e7 /agent/command-ssh.c
parentgpg: Fix trustdb updates without lock held. (diff)
downloadgnupg-403aa70c52e56614d65490dea9344113f9cf3d29.tar.gz
gnupg-403aa70c52e56614d65490dea9344113f9cf3d29.zip
gpg: Return better error codes in case of a too short trustdb.
* g10/tdbio.c (tdbio_read_record): Return GPG_ERR_EOF. (tdbio_new_recnum): Never return on error. (lookup_hashtable): Print a more descriptive error in case of !TABLE. -- Also: tdbio_new_recnum had a bug in that it returned an error code and not a record number in the error case. The function is expected to always return a valid new record number. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'agent/command-ssh.c')
0 files changed, 0 insertions, 0 deletions