1 |
|
#if 0 |
2 |
/* wptSOCKS.cpp - SOCKS proxy support |
/* wptSOCKS.cpp - SOCKS proxy support |
3 |
* Copyright (C) 2006 Timo Schulz |
* Copyright (C) 2006 Timo Schulz |
4 |
* |
* |
273 |
socks_handshake (keyserver_proxy_t ctx, int conn_fd, |
socks_handshake (keyserver_proxy_t ctx, int conn_fd, |
274 |
const char *hostname, WORD port) |
const char *hostname, WORD port) |
275 |
{ |
{ |
276 |
int method, err; |
int method, err=0; |
277 |
|
|
278 |
if (send_methods (conn_fd)) |
if (send_methods (conn_fd)) |
279 |
return -1; |
return -1; |
305 |
} |
} |
306 |
return 0; |
return 0; |
307 |
} |
} |
308 |
|
#endif |