mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
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.
This commit is contained in:
parent
0b875aa11a
commit
3cbc66410d
4 changed files with 7 additions and 19 deletions
11
g10/trust.c
11
g10/trust.c
|
@ -49,17 +49,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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue