1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 03:22:48 -05:00

Move the SSH implementation into its own subdirectory.

This clears up another large pile of clutter at the top level, and in
the process, allows me to rename source files to things that don't all
have that annoying 'ssh' prefix at the top.
This commit is contained in:
Simon Tatham
2021-04-22 17:58:40 +01:00
parent 66e62915d2
commit 83fa43497f
76 changed files with 186 additions and 161 deletions

View File

@ -111,7 +111,7 @@ add_executable(psocks
${CMAKE_SOURCE_DIR}/psocks.c
${CMAKE_SOURCE_DIR}/norand.c
${CMAKE_SOURCE_DIR}/nocproxy.c
${CMAKE_SOURCE_DIR}/portfwd.c)
${CMAKE_SOURCE_DIR}/ssh/portfwd.c)
target_link_libraries(psocks
eventloop console network utils
${platform_libraries})

View File

@ -121,7 +121,7 @@ static inline uintmax_t strtoumax(const char *nptr, char **endptr, int base)
#define strnicmp strncasecmp
#endif
#define BROKEN_PIPE_ERROR_CODE ERROR_BROKEN_PIPE /* used in sshshare.c */
#define BROKEN_PIPE_ERROR_CODE ERROR_BROKEN_PIPE /* used in ssh/sharing.c */
/*
* Dynamically linked functions. These come in two flavours:
@ -261,7 +261,7 @@ void write_aclip(int clipboard, char *, int, bool);
* couldn't write it if I wanted to, but I haven't bothered), so
* it's a macro which always returns NULL. With any luck this will
* cause the compiler to notice it can optimise away the
* implementation of XDM-AUTHORIZATION-1 in x11fwd.c :-)
* implementation of XDM-AUTHORIZATION-1 in ssh/x11fwd.c :-)
*/
#define sk_getxdmdata(socket, lenp) (NULL)

View File

@ -6,9 +6,9 @@
#define SECURITY_WIN32
#include <security.h>
#include "pgssapi.h"
#include "sshgss.h"
#include "sshgssc.h"
#include "ssh/pgssapi.h"
#include "ssh/gss.h"
#include "ssh/gssc.h"
#include "misc.h"