From ed660c29c348eb2f7f2af21fa562589561cb35f1 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 29 Jul 2009 16:05:45 +0200 Subject: Check for OpenSSH and implement sftp_symlink correct. When OpenSSH's sftp-server was implemented, the order of the arguments to the SSH_FXP_SYMLINK method was inadvertently reversed. Unfortunately, the reversal was not noticed until the server was widely deployed. Since fixing this to follow the specification would cause incompatibility, the current order was retained. --- include/libssh/libssh.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/libssh/libssh.h') diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 5ed2c670..f4dbe126 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -211,6 +211,7 @@ int ssh_connect(SSH_SESSION *session); void ssh_disconnect(SSH_SESSION *session); int ssh_service_request(SSH_SESSION *session, const char *service); char *ssh_get_issue_banner(SSH_SESSION *session); +int ssh_get_openssh_version(SSH_SESSION *session); /* get copyright informations */ const char *ssh_copyright(void); -- cgit