* keygen.c (write_selfsigs): Rename from write_selfsig. Write the same
authorDavid Shaw <dshaw@jabberwocky.com>
Wed, 11 May 2005 19:31:53 +0000 (19:31 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Wed, 11 May 2005 19:31:53 +0000 (19:31 +0000)
commite81d88b26541d669e1b9c59ebd0815f67469a61b
tree56ed76a701cdc7c58b162bcafcb615e8250a2ba7
parent0ab01480edb9d1b0da55e153b58e131ec3d9b7c9
* keygen.c (write_selfsigs): Rename from write_selfsig.  Write the same
selfsig into both the pk and sk, so that someone importing their sk (which
will get an autoconvert to the pk) won't end up with two selfsigs.
(do_generate_keypair): Call it from here.

* parse-packet.c (can_handle_critical_notation): New.  Check for
particular notation tags that we will accept when critical. Currently,
that's only preferred-email-encoding@pgp.com, since we know how to handle
it (pass it through to a mail program). (can_handle_critical): Call it
from here. (parse_one_sig_subpkt): Sanity check that notations are
well-formed in that the internal lengths add up to the size of the
subpacket.
g10/ChangeLog
g10/keygen.c
g10/parse-packet.c