diff options
author | Werner Koch <[email protected]> | 2013-07-03 11:10:29 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-03-07 08:00:56 +0000 |
commit | 179012ddd48e63ca83e8f5c24537a2db45c3e122 (patch) | |
tree | 4c5f17ca410e0c48e1cdad5891ee61daf9be046c /common/sysutils.c | |
parent | Fix syntax error for building on APPLE. (diff) | |
download | gnupg-179012ddd48e63ca83e8f5c24537a2db45c3e122.tar.gz gnupg-179012ddd48e63ca83e8f5c24537a2db45c3e122.zip |
agent: Fix binary vs. text mode problem in ssh.
* agent/command-ssh.c (file_to_buffer)
(ssh_handler_request_identities): Open streams in binary mode.
(start_command_handler_ssh): Factor some code out to ..
(setup_ssh_env): new function.
--
This is for now a theoretical fix because there is no ssh client yet
which uses the GnuPG style IPC. OpenSSL for Cygwin uses only a quite
similar one. gniibe suggested to implement that IPC style in
Libassuan so that a Cygwin version of OpenSSL may be used with GnuPG.
Signed-off-by: Werner Koch <[email protected]>
(cherry picked from commit ed056d67c7c93306b68829f83a2565e978dcfd9b)
Also fixed one typo.
Diffstat (limited to 'common/sysutils.c')
0 files changed, 0 insertions, 0 deletions