aboutsummaryrefslogtreecommitdiffstats
path: root/g10/trustdb.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-03-26 16:06:43 +0000
committerWerner Koch <[email protected]>2018-03-26 16:06:43 +0000
commita750ebebf35a392f1c72d6aee5618df0d9f25ff7 (patch)
treec0c1f70d6b0e435b5284db49bae02f5b6425335a /g10/trustdb.c
parentgpg: Return better error codes in case of a too short trustdb. (diff)
downloadgnupg-a750ebebf35a392f1c72d6aee5618df0d9f25ff7.tar.gz
gnupg-a750ebebf35a392f1c72d6aee5618df0d9f25ff7.zip
gpg: Pass CTRL arg to get_trusthashrec.
* g10/tdbio.c (get_trusthashrec): Add arg CTRL. (tdbio_search_trust_byfpr): Ditto. (tdbio_search_trust_bypk): Ditto. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/trustdb.c')
-rw-r--r--g10/trustdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/trustdb.c b/g10/trustdb.c
index 0a98c129f..2c2d2394a 100644
--- a/g10/trustdb.c
+++ b/g10/trustdb.c
@@ -649,7 +649,7 @@ read_trust_record (ctrl_t ctrl, PKT_public_key *pk, TRUSTREC *rec)
int rc;
init_trustdb (ctrl, 0);
- rc = tdbio_search_trust_bypk (pk, rec);
+ rc = tdbio_search_trust_bypk (ctrl, pk, rec);
if (rc)
{
if (gpg_err_code (rc) != GPG_ERR_NOT_FOUND)