mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
See ChangeLog: Thu Jul 8 16:21:27 CEST 1999 Werner Koch
This commit is contained in:
parent
bd7298cf0d
commit
c5ca275573
13 changed files with 99 additions and 5 deletions
|
@ -477,6 +477,8 @@ verify_own_keys(void)
|
|||
|
||||
/* make sure that the pubkey is in the trustdb */
|
||||
rc = query_trust_record( pk );
|
||||
if( rc == -1 && opt.dry_run )
|
||||
goto skip;
|
||||
if( rc == -1 ) { /* put it into the trustdb */
|
||||
rc = insert_trust_record_by_pk( pk );
|
||||
if( rc ) {
|
||||
|
@ -2217,6 +2219,8 @@ check_trust( PKT_public_key *pk, unsigned *r_trustlevel,
|
|||
g10_errstr(rc));
|
||||
return rc;
|
||||
}
|
||||
else if( rc == -1 && opt.dry_run )
|
||||
return G10ERR_GENERAL;
|
||||
else if( rc == -1 ) { /* not found - insert */
|
||||
rc = insert_trust_record_by_pk( pk );
|
||||
if( rc ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue