Home GnuPG
Diffusion GnuPG 336112e51907

ssh: Cleanup sshcontrol file access code.
336112e51907Unpublished

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.

(cherry picked from commit 25fb53ab4ae7e1c098500229c776d29b82713a20)

Fixed conflicts in some variabale names.

Details

Provenance
wernerAuthored on Dec 10 2012, 4:39 PM
Parents
rGfc7d033d8e62: ssh: Do not look for a card based ssh key if scdaemon is disabled.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG336112e51907: ssh: Cleanup sshcontrol file access code. (authored by Werner Koch <wk@gnupg.org>).Jul 1 2013, 8:31 PM