gnupg/g10 (7 files)

cvs user dshaw cvs@cvs.gnupg.org
Thu, 01 May 2003 23:37:19 +0200


    Date: Thursday, May 1, 2003 @ 23:37:09
  Author: dshaw
    Path: /cvs/gnupg/gnupg/g10

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

* tdbio.c (create_version_record): Only create new trustdbs with
TM_CLASSIC or TM_PGP.

* trustdb.h, trustdb.c (trust_string, get_ownertrust_string,
get_validity_string, ask_ownertrust, validate_keys), pkclist.c
(do_edit_ownertrust): Rename trust_string to trust_value_to_string for
naming consistency.

* trustdb.h, trustdb.c (string_to_trust_value): New function to translate
a string to a trust value.

* g10.c (main): Use string_to_trust_value here for --force-ownertrust.
	
* options.h, g10.c (main), trustdb.c (trust_model_string, init_trustdb,
check_trustdb, update_trustdb, get_validity, validate_one_keyblock): An
"OpenPGP" trust model is misleading since there is no official OpenPGP
trust model.  Use "PGP" instead.


-----------+
 ChangeLog |   22 ++++++++++++++++++++++
 g10.c     |   17 +++++++++--------
 options.h |    2 +-
 pkclist.c |    2 +-
 tdbio.c   |    5 ++++-
 trustdb.c |   53 ++++++++++++++++++++++++++++++++++++-----------------
 trustdb.h |    3 ++-
 7 files changed, 75 insertions(+), 29 deletions(-)