Home GnuPG
Diffusion GnuPG 25fb53ab4ae7

ssh: Cleanup sshcontrol file access code.
25fb53ab4ae7Unpublished

Unpublished Commit · Learn More

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

Description

ssh: Cleanup sshcontrol file access code.

* agent/command-ssh.c (SSH_CONTROL_FILE_NAME): New macro to replace
the direct use of the string.
(struct control_file_s, control_file_t): New.
(open_control_file, close_control_file): New.  Use them instead of
using fopen/fclose directly.

Details

Provenance
wernerAuthored on Dec 10 2012, 4:39 PM
Parents
rG36ba7845995d: agent: Add envvar "gnupg_SSH_AUTH_SOCK_by"
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG25fb53ab4ae7: ssh: Cleanup sshcontrol file access code. (authored by Werner Koch <wk@gnupg.org>).Dec 10 2012, 4:39 PM