summaryrefslogtreecommitdiffstats
path: root/g10/trust.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2014-03-06 08:23:10 +0100
committerNIIBE Yutaka <gniibe@fsij.org>2014-03-06 08:23:10 +0100
commit5ed8e9335fb886d7ddc86728d8481e5e47485531 (patch)
treea3243b59a38978bcbe39485ed290bf56afc43cea /g10/trust.c
parentcommon: Replace all macros in strusage() returned strings. (diff)
downloadgnupg2-5ed8e9335fb886d7ddc86728d8481e5e47485531.tar.xz
gnupg2-5ed8e9335fb886d7ddc86728d8481e5e47485531.zip
Fix g10/trust.c.
* g10/trust.c (register_trusted_keyid, register_trusted_key) (update_ownertrust): Call functions with tdb_. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'g10/trust.c')
-rw-r--r--g10/trust.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/g10/trust.c b/g10/trust.c
index 32cd93462..c8a1c2c70 100644
--- a/g10/trust.c
+++ b/g10/trust.c
@@ -55,7 +55,7 @@ register_trusted_keyid (u32 *keyid)
#ifdef NO_TRUST_MODELS
(void)keyid;
#else
- register_trusted_keyid (keyid);
+ tdb_register_trusted_keyid (keyid);
#endif
}
@@ -66,7 +66,7 @@ register_trusted_key (const char *string)
#ifdef NO_TRUST_MODELS
(void)string;
#else
- register_trusted_key (string);
+ tdb_register_trusted_key (string);
#endif
}
@@ -247,7 +247,7 @@ update_ownertrust (PKT_public_key *pk, unsigned int new_trust)
(void)pk;
(void)new_trust;
#else
- update_ownertrust (pk, new_trust);
+ tdb_update_ownertrust (pk, new_trust);
#endif
}