Home GnuPG
Diffusion GnuPG f6d3c6e5263d

scd: Fix varargs call for 64-bit arch on ECC keys.
f6d3c6e5263dUnpublished

Unpublished Commit · Learn More

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

Description

scd: Fix varargs call for 64-bit arch on ECC keys.

* scd/app-openpgp.c (store_fpr): Remove CARD_VERSION from the
arguments.
(rsa_writekey): Follow the change.
(do_genkey): Likewise.
(ecc_writekey): Likewise.  Cast to size_t.

KEYTOCARD caused SEGV of scdaemon on 64-bit arch. That's because
int is 32-bit, but size_t is 64-bit.

Details

Provenance
gniibeAuthored on Jan 28 2015, 3:24 AM
Parents
rG6eebc5668793: gpg: Fix segv introduced to commit 4d7c9b0.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rGf6d3c6e5263d: scd: Fix varargs call for 64-bit arch on ECC keys. (authored by NIIBE Yutaka <gniibe@fsij.org>).Jan 28 2015, 3:24 AM