* keygen.c (do_add_key_flags): Don't set the certify flag for subkeys.
authorDavid Shaw <dshaw@jabberwocky.com>
Mon, 21 Jul 2003 23:19:15 +0000 (23:19 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Mon, 21 Jul 2003 23:19:15 +0000 (23:19 +0000)
commitfbdee01db968d501d26cf5c2ea21c803815ce1ef
tree96422839217e179100ec53c2acc34c6ad187252c
parentfa0cc6602b36fee0d36aee9bb8ef94dbff864eeb
* keygen.c (do_add_key_flags): Don't set the certify flag for subkeys.
(ask_algo): Provide key flags for DSA, Elgamal_e, and Elgamal subkeys.
(generate_keypair): Provide key flags for the default DSA/Elgamal keys.

* sig-check.c (signature_check, signature_check2, check_key_signature,
check_key_signature2): Allow passing NULLs for unused parameters in the x2
form of each function to avoid the need for dummy variables. getkey.c,
mainproc.c: Change all callers.

* trustdb.h, trustdb.c (read_trust_options): New.  Returns items from the
trustdb version record.

* keylist.c (public_key_list): Use it here for the new "tru" record.

* gpgv.c (read_trust_options): Stub.
g10/ChangeLog
g10/getkey.c
g10/gpgv.c
g10/keygen.c
g10/keylist.c
g10/mainproc.c
g10/sig-check.c
g10/trustdb.c
g10/trustdb.h