aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-06-02 15:01:54 +0000
committerWerner Koch <[email protected]>2016-06-02 15:06:39 +0000
commitdcc4cd83821667be22e502af86139bb4bd41bdf7 (patch)
treef3c01b658c4db6fdd3b8d5bd8508ae0f0c17e8c4 /agent/command.c
parentgpg: New command --quick-addkey. (diff)
downloadgnupg-dcc4cd83821667be22e502af86139bb4bd41bdf7.tar.gz
gnupg-dcc4cd83821667be22e502af86139bb4bd41bdf7.zip
gpg: Improve the new parse_subkey_algostr_usagestr fucntion.
* g10/keygen.c (parse_usagestr): Allow "cert". (generate_subkeypair): Factor expire parsing out to ... (parse_subkey_algostr_usagestr): here. Rename to ... (parse_algo_usage_expire): this. Add arg 'for_subkey'. Set CERT for primary key and check that it is not set for subkeys. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'agent/command.c')
0 files changed, 0 insertions, 0 deletions