* tdbio.h, tdbio.c (tdbio_read_record, tdbio_write_record): Store trust
authorDavid Shaw <dshaw@jabberwocky.com>
Wed, 4 Dec 2002 00:05:11 +0000 (00:05 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Wed, 4 Dec 2002 00:05:11 +0000 (00:05 +0000)
commit3b7ca1faa5bb9faf4786c8b645e1a6153a48a50d
tree1ea75124f93b8721a5674c0a81ecdec50aa24c61
parente357092285709f24f84a76f25022b5761157eb4d
* 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.
g10/ChangeLog
g10/options.h
g10/tdbio.c
g10/tdbio.h
g10/trustdb.c