diff options
Diffstat (limited to 'nocproxy.c')
-rw-r--r-- | nocproxy.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/nocproxy.c b/nocproxy.c deleted file mode 100644 index f93214fa..00000000 --- a/nocproxy.c +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Routines to refuse to do cryptographic interaction with proxies - * in PuTTY. This is a stub implementation of the same interfaces - * provided by cproxy.c, for use in PuTTYtel. - */ - -#include <assert.h> -#include <ctype.h> -#include <string.h> - -#include "putty.h" -#include "network.h" -#include "proxy.h" - -void proxy_socks5_offerencryptedauth(BinarySink *bs) -{ - /* For telnet, don't add any new encrypted authentication routines */ -} - -int proxy_socks5_handlechap (ProxySocket *p) -{ - - plug_closing(p->plug, "Proxy error: Trying to handle a SOCKS5 CHAP request" - " in telnet-only build", - PROXY_ERROR_GENERAL, 0); - return 1; -} - -int proxy_socks5_selectchap(ProxySocket *p) -{ - plug_closing(p->plug, "Proxy error: Trying to handle a SOCKS5 CHAP request" - " in telnet-only build", - PROXY_ERROR_GENERAL, 0); - return 1; -} |