mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
See ChangeLog: Thu Feb 25 18:47:39 CET 1999 Werner Koch
This commit is contained in:
parent
cbe6d2fd2a
commit
946916a53d
12 changed files with 90 additions and 11 deletions
|
@ -1506,8 +1506,10 @@ list_trust_path( const char *username )
|
|||
int rc;
|
||||
ulong lid;
|
||||
TRUSTREC rec;
|
||||
#if 0
|
||||
TRUST_INFO *tmppath;
|
||||
TRUST_SEG_LIST trust_seg_list, tsl, tsl2;
|
||||
#endif
|
||||
PKT_public_key *pk = m_alloc_clear( sizeof *pk );
|
||||
|
||||
INIT_TRUSTDB();
|
||||
|
@ -1688,6 +1690,9 @@ update_trustdb( )
|
|||
KBPOS kbpos;
|
||||
int rc;
|
||||
|
||||
if( opt.dry_run )
|
||||
return;
|
||||
|
||||
INIT_TRUSTDB();
|
||||
rc = enum_keyblocks( 0, &kbpos, &keyblock );
|
||||
if( !rc ) {
|
||||
|
@ -2121,6 +2126,9 @@ clear_trust_checked_flag( PKT_public_key *pk )
|
|||
TRUSTREC rec;
|
||||
int rc;
|
||||
|
||||
if( opt.dry_run )
|
||||
return 0;
|
||||
|
||||
INIT_TRUSTDB();
|
||||
rc = get_dir_record( pk, &rec );
|
||||
if( rc )
|
||||
|
@ -3108,6 +3116,9 @@ update_trust_record( KBNODE keyblock, int recheck, int *modified )
|
|||
RECNO_LIST recno_list = NULL; /* list of verified records */
|
||||
/* fixme: replace recno_list by a lookup on node->recno */
|
||||
|
||||
if( opt.dry_run )
|
||||
return 0;
|
||||
|
||||
INIT_TRUSTDB();
|
||||
if( modified )
|
||||
*modified = 0;
|
||||
|
@ -3237,6 +3248,10 @@ insert_trust_record( PKT_public_key *pk )
|
|||
int rc = 0;
|
||||
ulong hintlist = 0;
|
||||
|
||||
|
||||
if( opt.dry_run )
|
||||
return 0;
|
||||
|
||||
INIT_TRUSTDB();
|
||||
|
||||
if( pk->local_id )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue