Home GnuPG
Diffusion GnuPG 3ca1f4098c70

scd: fix get_public_key for OpenPGPcard v1.0.
3ca1f4098c70Unpublished

Unpublished Commit · Learn More

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

Description

scd: fix get_public_key for OpenPGPcard v1.0.

* scd/app-openpgp.c (get_public_key): correctly close 'fp' upon use.

Inside the get_public_key function, 'fp' was opened using popen, but
incorrectly closed using fclose.

Details

Provenance
Joshua Rogers <git@internot.info>Authored on Dec 20 2014, 1:38 AM
gniibeCommitted on Jan 8 2015, 3:18 AM
Parents
rGda66ad5bba42: gpg: release DEK soon after its use.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rG3ca1f4098c70: scd: fix get_public_key for OpenPGPcard v1.0. (authored by Joshua Rogers <git@internot.info>).Jan 8 2015, 3:18 AM