File tree 3 files changed +18
-2
lines changed
3 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ LIBS = advapi32.lib user32.lib gdi32.lib comctl32.lib comdlg32.lib
289
289
# to proxy.c depending on whether we're crypto-avoidant or not.
290
290
BE_ALL = be_all cproxy
291
291
BE_NOSSH = be_nossh nocproxy
292
- BE_SSH = be_none cproxy
292
+ BE_SSH = be_ssh cproxy
293
293
BE_NONE = be_none nocproxy
294
294
# More backend sets, with the additional Windows serial-port module.
295
295
W_BE_ALL = be_all_s winser cproxy
Original file line number Diff line number Diff line change 1
1
/*
2
2
* Linking module for programs that do not support selection of backend
3
- * (such as pscp or pterm).
3
+ * (such as pterm).
4
4
*/
5
5
6
6
#include <stdio.h>
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Linking module for programs that are restricted to only using SSH
3
+ * (pscp and psftp). These do not support selection of backend, but
4
+ * must still have a backends[] array mentioning SSH because
5
+ * settings.c will want to consult it during session load.
6
+ */
7
+
8
+ #include <stdio.h>
9
+ #include "putty.h"
10
+
11
+ const int be_default_protocol = PROT_SSH ;
12
+
13
+ Backend * backends [] = {
14
+ & ssh_backend ,
15
+ NULL
16
+ };
You can’t perform that action at this time.
0 commit comments