Home GnuPG
Diffusion GnuPG a61b28df1f29

scd: Minor changes to app-sc-hsm.
a61b28df1f29Unpublished

Unpublished Commit · Learn More

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

Description

scd: Minor changes to app-sc-hsm.

* scd/app-sc-hsm.c: Re-indendet some parts and set some vars to NULL
after xfree for improbed robustness.
(read_ef_prkd): Replace serial operator by blocks for better
readability.
(apply_PKCS_padding): Rewrite for easier auditing.
(strip_PKCS15_padding): Ditto.  Add stricter check on SRCLEN.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Aug 12 2014, 10:36 AM
Parents
rGae29b52119aa: gpg: Disable an MD5 workaround for pgp2 by default.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGa61b28df1f29: scd: Minor changes to app-sc-hsm. (authored by Werner Koch <wk@gnupg.org>).Aug 14 2014, 2:09 PM