gnupg/g10 (ChangeLog options.h tdbio.c tdbio.h trustdb.c)

cvs user dshaw cvs@cvs.gnupg.org
Wed, 04 Dec 2002 01:05:11 +0100


    Date: Wednesday, December 4, 2002 @ 01:05:11
  Author: dshaw
    Path: /cvs/gnupg/gnupg/g10

Modified: ChangeLog options.h tdbio.c tdbio.h trustdb.c

* tdbio.h, tdbio.c (tdbio_read_record, tdbio_write_record): Store trust
model in the trustdb version record. (tdbio_update_version_record): New
function to update version record values during a trustdb check or update.
(tdbio_dump_record): Show trust model in dump.

* trustdb.c (validate_keys): Call tdbio_update_version_record on success
so that the correct options are stored in the trustdb.

* options.h: rearrange trust models so that CLASSIC is 0 and OPENPGP is 1.


-----------+
 ChangeLog |   12 ++++++++++++
 options.h |    2 +-
 tdbio.c   |   43 +++++++++++++++++++++++++++++++++++--------
 tdbio.h   |    2 ++
 trustdb.c |    1 +
 5 files changed, 51 insertions(+), 9 deletions(-)