Home GnuPG
Diffusion GnuPG a34afa8f2053

Two minor code cleanups and one NULL deref on error fix.
a34afa8f2053Unpublished

Unpublished Commit · Learn More

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

Description

Two minor code cleanups and one NULL deref on error fix.

* common/estream.c (es_freopen): Remove useless check for STREAM.
* kbx/keybox-blob.c (_keybox_create_x509_blob): Remove useless check
for BLOB.
* tools/sockprox.c (run_proxy): Do not fclose(NULL).

Found by Hans-Christoph Steiner with cppcheck.

Details

Provenance
wernerAuthored on Apr 15 2014, 4:40 PM
Parents
rGdb3b528239c9: gpg: Re-enable secret key deletion.
Branches
Unknown
Tags
Unknown

Event Timeline