diff options
author | Werner Koch <[email protected]> | 2021-04-23 18:45:25 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2021-04-23 18:45:25 +0000 |
commit | 3cbc66410d62ad2f7e559095753a2385fe644d07 (patch) | |
tree | 7cab62485a38df245da74eb01cd315a1cd23ea6f /g10/trustdb.h | |
parent | agent,w32: Silence the get_peercred failed diagnostic (diff) | |
download | gnupg-3cbc66410d62ad2f7e559095753a2385fe644d07.tar.gz gnupg-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/trustdb.h')
-rw-r--r-- | g10/trustdb.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/g10/trustdb.h b/g10/trustdb.h index d52fc53f2..6c7fd6c8e 100644 --- a/g10/trustdb.h +++ b/g10/trustdb.h @@ -48,7 +48,6 @@ /*-- trust.c --*/ int cache_disabled_value (ctrl_t ctrl, PKT_public_key *pk); -void register_trusted_keyid (u32 *keyid); void register_trusted_key (const char *string); const char *trust_value_to_string (unsigned int value); @@ -75,7 +74,6 @@ const char *get_validity_string (ctrl_t ctrl, /*-- trustdb.c --*/ -void tdb_register_trusted_keyid (u32 *keyid); void tdb_register_trusted_key (const char *string); /* Returns whether KID is on the list of ultimately trusted keys. */ int tdb_keyid_is_utk (u32 *kid); |