mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-05-09 21:52:10 -05:00
Merge r9254 (the PSCP/PSFTP protocol override fix).
[originally from svn r9255] [r9254 == f14953d9e94c176cfc928bb719d6f613da96717e]
This commit is contained in:
parent
f4307eb8e1
commit
2ff01c50ec
2
Recipe
2
Recipe
@ -289,7 +289,7 @@ LIBS = advapi32.lib user32.lib gdi32.lib comctl32.lib comdlg32.lib
|
|||||||
# to proxy.c depending on whether we're crypto-avoidant or not.
|
# to proxy.c depending on whether we're crypto-avoidant or not.
|
||||||
BE_ALL = be_all cproxy
|
BE_ALL = be_all cproxy
|
||||||
BE_NOSSH = be_nossh nocproxy
|
BE_NOSSH = be_nossh nocproxy
|
||||||
BE_SSH = be_none cproxy
|
BE_SSH = be_ssh cproxy
|
||||||
BE_NONE = be_none nocproxy
|
BE_NONE = be_none nocproxy
|
||||||
# More backend sets, with the additional Windows serial-port module.
|
# More backend sets, with the additional Windows serial-port module.
|
||||||
W_BE_ALL = be_all_s winser cproxy
|
W_BE_ALL = be_all_s winser cproxy
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Linking module for programs that do not support selection of backend
|
* Linking module for programs that do not support selection of backend
|
||||||
* (such as pscp or pterm).
|
* (such as pterm).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
16
be_ssh.c
Normal file
16
be_ssh.c
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/*
|
||||||
|
* Linking module for programs that are restricted to only using SSH
|
||||||
|
* (pscp and psftp). These do not support selection of backend, but
|
||||||
|
* must still have a backends[] array mentioning SSH because
|
||||||
|
* settings.c will want to consult it during session load.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include "putty.h"
|
||||||
|
|
||||||
|
const int be_default_protocol = PROT_SSH;
|
||||||
|
|
||||||
|
Backend *backends[] = {
|
||||||
|
&ssh_backend,
|
||||||
|
NULL
|
||||||
|
};
|
Loading…
x
Reference in New Issue
Block a user