diff options
author | NIIBE Yutaka <[email protected]> | 2016-10-21 23:45:35 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2016-10-21 23:45:35 +0000 |
commit | 987bbb2276aeb6bee2793e8406e223717b605009 (patch) | |
tree | 5a03fe2339a40d42bc27c564b839472d187090f2 /common/sysutils.c | |
parent | g10: Write first keybox record in binary mode (diff) | |
download | gnupg-987bbb2276aeb6bee2793e8406e223717b605009.tar.gz gnupg-987bbb2276aeb6bee2793e8406e223717b605009.zip |
g10: More card key generation change.
* g10/keygen.c (gen_card_key): Add back ALGO as the second argument.
Don't get ALGO by KEY-ATTR by this function. It's caller to provide
ALGO. Don't do that by both of caller and callee.
(generate_keypair): Only put paramerters needed. Use parameters
for ALGO to call gen_card_key.
(generate_card_subkeypair): Get ALGO and call gen_card_key with it.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions