diff options
author | Werner Koch <wk@gnupg.org> | 2021-04-23 20:45:25 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2021-04-23 20:45:25 +0200 |
commit | 3cbc66410d62ad2f7e559095753a2385fe644d07 (patch) | |
tree | 7cab62485a38df245da74eb01cd315a1cd23ea6f /g10/trust.c | |
parent | agent,w32: Silence the get_peercred failed diagnostic (diff) | |
download | gnupg2-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.c | 11 |
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 |