forked from Yasushi/putty
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First stab at the ability to compile puttytel.exe, an SSH-free
variant which is patent-safe in the US and legal in France and Russia. This is a horrible hack in some ways: it's shown up serious deficiencies in the module boundaries. Needs further work, probably once the SSH implementations are recombined. [originally from svn r410]
- Loading branch information
Showing
11 changed files
with
194 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* | ||
* Linking module for PuTTY proper: list the available backends | ||
* including ssh. | ||
*/ | ||
|
||
#include <windows.h> | ||
#include <stdio.h> | ||
#include "putty.h" | ||
|
||
struct backend_list backends[] = { | ||
{PROT_SSH, "ssh", &ssh_backend}, | ||
{PROT_TELNET, "telnet", &telnet_backend}, | ||
{PROT_RAW, "raw", &raw_backend}, | ||
{0, NULL} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* Linking module for PSCP: list no available backends. This is | ||
* only present to satisfy linker requirements. I should really | ||
* untangle the whole lot a bit better. | ||
*/ | ||
|
||
#include <windows.h> | ||
#include <stdio.h> | ||
#include "putty.h" | ||
|
||
struct backend_list backends[] = { | ||
{0, NULL} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
* Linking module for PuTTYtel: list the available backends not | ||
* including ssh. | ||
*/ | ||
|
||
#include <windows.h> | ||
#include <stdio.h> | ||
#include "putty.h" | ||
|
||
struct backend_list backends[] = { | ||
{PROT_TELNET, "telnet", &telnet_backend}, | ||
{PROT_RAW, "raw", &raw_backend}, | ||
{0, NULL} | ||
}; | ||
|
||
/* | ||
* Stub implementations of functions not used in non-ssh versions. | ||
*/ | ||
void random_save_seed(void) { | ||
} | ||
|
||
void noise_ultralight(DWORD data) { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/* Stub rc file for the PuTTYtel ssh-free binary */ | ||
#define NO_SSH | ||
#include "win_res.rc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters