mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-28 22:49:59 +01:00
* trustdb.c (init_trustdb, get_validity): Don't use a changed trust model
to indicate a dirty trustdb, and never auto-rebuild a dirty trustdb with the "always" trust model. * g10.c (add_group): Last commit missed the \t ;)
This commit is contained in:
parent
06ef613289
commit
b7ea66ef37
@ -1,3 +1,11 @@
|
|||||||
|
2003-01-15 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* trustdb.c (init_trustdb, get_validity): Don't use a changed
|
||||||
|
trust model to indicate a dirty trustdb, and never auto-rebuild a
|
||||||
|
dirty trustdb with the "always" trust model.
|
||||||
|
|
||||||
|
* g10.c (add_group): Last commit missed the \t ;)
|
||||||
|
|
||||||
2003-01-14 David Shaw <dshaw@jabberwocky.com>
|
2003-01-14 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* packet.h, parse-packet.c (setup_user_id), free-packet.c
|
* packet.h, parse-packet.c (setup_user_id), free-packet.c
|
||||||
|
@ -859,7 +859,7 @@ static void add_group(char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Break apart the values */
|
/* Break apart the values */
|
||||||
while ((value= strsep(&string," ")))
|
while ((value= strsep(&string," \t")))
|
||||||
{
|
{
|
||||||
if (*value)
|
if (*value)
|
||||||
add_to_strlist2 (&values,value,utf8_strings);
|
add_to_strlist2 (&values,value,utf8_strings);
|
||||||
|
@ -425,7 +425,8 @@ init_trustdb()
|
|||||||
if( rc )
|
if( rc )
|
||||||
log_fatal("can't init trustdb: %s\n", g10_errstr(rc) );
|
log_fatal("can't init trustdb: %s\n", g10_errstr(rc) );
|
||||||
|
|
||||||
if(!tdbio_db_matches_options())
|
if(!tdbio_db_matches_options()
|
||||||
|
&& (opt.trust_model==TM_CLASSIC || opt.trust_model==TM_OPENPGP))
|
||||||
pending_check_trustdb=1;
|
pending_check_trustdb=1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -971,7 +972,8 @@ get_validity (PKT_public_key *pk, PKT_user_id *uid)
|
|||||||
namehash_from_uid(uid);
|
namehash_from_uid(uid);
|
||||||
|
|
||||||
init_trustdb ();
|
init_trustdb ();
|
||||||
if (!did_nextcheck)
|
if (!did_nextcheck
|
||||||
|
&& (opt.trust_model==TM_CLASSIC || opt.trust_model==TM_OPENPGP))
|
||||||
{
|
{
|
||||||
ulong scheduled;
|
ulong scheduled;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user