gpg: Allow "futuredefault" as alias for "future-default".
authorWerner Koch <wk@gnupg.org>
Mon, 1 Jan 2018 13:59:30 +0000 (14:59 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 1 Jan 2018 13:59:30 +0000 (14:59 +0100)
commit4d3c500f4793eb263940ff5ef87ec4ead63c9b4b
treed49b5c65f88224867d4c846c67d8d56bbd5e459e
parent412bb7a801f242d47a82712080cce6ddbb843166
gpg: Allow "futuredefault" as alias for "future-default".

* g10/keygen.c (parse_key_parameter_string): Allow "futuredefault" and
use case-insensitive matching
(quick_generate_keypair): Ditto.
(parse_algo_usage_expire): Ditto.
--

The man page is sometimes rendered in a way that the hyphen may be
not be considered as part of the string.  And while at it we also
allow case-insensitivity.

GnuPG-bug-id: 3655
Signed-off-by: Werner Koch <wk@gnupg.org>
g10/keygen.c