mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-23 15:07:03 +01:00
g10: Fix card keygen for decryption.
* g10/keygen.c (do_generate_keypair): Fix arguments. -- Reported-by: Grumpy Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
987bbb2276
commit
acef095164
@ -4344,8 +4344,8 @@ do_generate_keypair (ctrl_t ctrl, struct para_data_s *para,
|
||||
}
|
||||
else
|
||||
{
|
||||
err = gen_card_key (2, 0, get_parameter_algo (para, pSUBKEYTYPE, NULL),
|
||||
pub_root, ×tamp,
|
||||
err = gen_card_key (2, get_parameter_algo (para, pSUBKEYTYPE, NULL),
|
||||
0, pub_root, ×tamp,
|
||||
get_parameter_u32 (para, pKEYEXPIRE));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user