summaryrefslogtreecommitdiffstats
path: root/g10/trust.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2021-04-23 20:45:25 +0200
committerWerner Koch <wk@gnupg.org>2021-04-23 20:45:25 +0200
commit3cbc66410d62ad2f7e559095753a2385fe644d07 (patch)
tree7cab62485a38df245da74eb01cd315a1cd23ea6f /g10/trust.c
parentagent,w32: Silence the get_peercred failed diagnostic (diff)
downloadgnupg2-3cbc66410d62ad2f7e559095753a2385fe644d07.tar.xz
gnupg2-3cbc66410d62ad2f7e559095753a2385fe644d07.zip
gpg: Replace an obsolete trustdb function.
* g10/trustdb.c (tdb_register_trusted_keyid): Make static. (tdb_register_trusted_key): Replace register_trusted_keyid by tdb_register_trusted_key. * g10/keygen.c (do_generate_keypair): Ditto. * g10/trust.c (register_trusted_keyid): Remove.
Diffstat (limited to 'g10/trust.c')
-rw-r--r--g10/trust.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/g10/trust.c b/g10/trust.c
index bd1c89458..67cb1029b 100644
--- a/g10/trust.c
+++ b/g10/trust.c
@@ -50,17 +50,6 @@ cache_disabled_value (ctrl_t ctrl, PKT_public_key *pk)
void
-register_trusted_keyid (u32 *keyid)
-{
-#ifdef NO_TRUST_MODELS
- (void)keyid;
-#else
- tdb_register_trusted_keyid (keyid);
-#endif
-}
-
-
-void
register_trusted_key (const char *string)
{
#ifdef NO_TRUST_MODELS