mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Fix (quick) key generation with --always-trust.
* g10/keygen.c (do_generate_keypair): Only update the ownertrust if we do have a trust database. * g10/trustdb.c (have_trustdb): New function. * g10/trustdb.h (have_trustdb): New prototype. * tests/openpgp/quick-key-manipulation.scm: Remove workaround. GnuPG-bug-id: 2695 Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
d6f0f36876
commit
4735ab96aa
4 changed files with 14 additions and 6 deletions
|
@ -128,6 +128,7 @@ int setup_trustdb( int level, const char *dbname );
|
|||
void how_to_fix_the_trustdb (void);
|
||||
const char *trust_model_string (int model);
|
||||
gpg_error_t init_trustdb (int no_create);
|
||||
int have_trustdb (void);
|
||||
void tdb_check_trustdb_stale (ctrl_t ctrl);
|
||||
void sync_trustdb( void );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue