Home GnuPG
Diffusion GnuPG 2e936915cf2f

scd: Minor and editorial changes to app-sc-hsm.c
2e936915cf2fUnpublished

Unpublished Commit · Learn More

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

Description

scd: Minor and editorial changes to app-sc-hsm.c

* scd/app-sc-hsm.c (select_and_read_binary): Use SW_ macro.
(parse_certid): Remove useless test.
(send_certinfo, send_keypairinfo): Shrink malloc to the needed size.
(do_getattr): Ditto.
(verify_pin): Use SW_ macro.
(do_decipher): Replace OFS variable and extend comment.

Code parts which have not been audited are marked with a warning
pragma.

Details

Provenance
wernerAuthored on Jul 24 2014, 4:16 PM
Parents
rGe49c851ff54d: scd: Add a new status word code.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG2e936915cf2f: scd: Minor and editorial changes to app-sc-hsm.c (authored by Werner Koch <wk@gnupg.org>).Jul 25 2014, 11:04 AM