mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Factor out code into a standalone function.
* g10/trustdb.c (tdb_keyid_is_utk): New function. (add_utk): Use it. -- Signed-off-by: Neal H. Walfield <neal@g10code.com>
This commit is contained in:
parent
a79045e38d
commit
243f90afba
2 changed files with 16 additions and 7 deletions
|
@ -111,6 +111,8 @@ void clean_key (kbnode_t keyblock, int noisy, int self_only,
|
|||
/*-- 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);
|
||||
void check_trustdb (void);
|
||||
void update_trustdb (void);
|
||||
int setup_trustdb( int level, const char *dbname );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue