mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
* tdbio.c (migrate_from_v2): Fixed the offset to read the old
ownertrust value and only add entries to the table if we really have a value.
This commit is contained in:
parent
d367d40e47
commit
f99f585427
@ -1,3 +1,9 @@
|
||||
2002-04-10 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* tdbio.c (migrate_from_v2): Fixed the offset to read the old
|
||||
ownertrust value and only add entries to the table if we really
|
||||
have a value.
|
||||
|
||||
2002-04-08 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* status.h, status.c (get_status_string): Add KEYEXPIRED, EXPSIG,
|
||||
|
@ -1496,10 +1496,10 @@ migrate_from_v2 ()
|
||||
ottable = m_realloc (ottable, ottable_size * sizeof *ottable);
|
||||
}
|
||||
ottable[ottable_used].keyrecno = buftoulong (oldbuf+6);
|
||||
ottable[ottable_used].ot = oldbuf[17];
|
||||
ottable[ottable_used].ot = oldbuf[18];
|
||||
ottable[ottable_used].okay = 0;
|
||||
memset (ottable[ottable_used].fpr,0, 20);
|
||||
if (ottable[ottable_used].keyrecno)
|
||||
if (ottable[ottable_used].keyrecno && ottable[ottable_used].ot)
|
||||
ottable_used++;
|
||||
}
|
||||
log_info ("found %d ownertrust records\n", ottable_used);
|
||||
|
Loading…
x
Reference in New Issue
Block a user