mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: New options import-drop-uids and export-drop-uids.
* g10/options.h (IMPORT_DROP_UIDS): New. (EXPORT_DROP_UIDS): New. * g10/import.c (parse_import_options): Add option "import-drop-uids". (import_one): Don't bail out with that options and no uids found. Also remove all uids. (remove_all_uids): New. * g10/export.c (parse_export_options): Add option "export-drop-uids". (do_export_one_keyblock): Implement option. -- These options are required for experiments with changes to the keyserver infrastructure. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
50b02dba20
commit
8e83493dae
5 changed files with 94 additions and 9 deletions
|
@ -1521,6 +1521,8 @@ optlen(const char *s)
|
|||
return strlen(s);
|
||||
}
|
||||
|
||||
|
||||
/* Note: This function returns true on success. */
|
||||
int
|
||||
parse_options(char *str,unsigned int *options,
|
||||
struct parse_options *opts,int noisy)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue