* import.c (check_prefs): New function to check preferences on a public
authorDavid Shaw <dshaw@jabberwocky.com>
Thu, 12 Feb 2004 19:18:27 +0000 (19:18 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Thu, 12 Feb 2004 19:18:27 +0000 (19:18 +0000)
commitcefe95dc77f4637a1836db3c2b3e5465e444fa88
tree0625230f0f1b4d5befb53c62c9e5a42fb3f0c327
parent76f579b2336d3bd8b761dcd0133f8597cb4d1f9a
* import.c (check_prefs): New function to check preferences on a public
key to ensure that it does not advertise any that we cannot fulfill.  Use
the keyedit command list function to optionally rewrite the prefs.
(import_one, import_secret_one): Use it here when importing a public key
that we have the secret half of, or when importing a secret key that we
have the public half of.
g10/ChangeLog
g10/import.c