Home GnuPG
Diffusion GnuPG 987bbb2276ae

g10: More card key generation change.
987bbb2276aeUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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 <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Oct 22 2016, 1:45 AM
Parents
rGf7e50634be71: g10: Write first keybox record in binary mode
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rG987bbb2276ae: g10: More card key generation change. (authored by NIIBE Yutaka <gniibe@fsij.org>).Oct 22 2016, 1:45 AM