summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-24 16:26:35 +0000
committerThomas Wouters <thomas@python.org>2000-07-24 16:26:35 +0000
commit5a157dd43b3ebec181f6916b15ec33eaf8cb7a1e (patch)
tree7285a529677ce623dd5512b77c0d0162e1ad0c40 /Modules
parent27cec46bfa891f52f58e9ba3a5e015777d049835 (diff)
downloadcpython-5a157dd43b3ebec181f6916b15ec33eaf8cb7a1e.tar.gz
Remove unused variable and what looks like an ancient relic of an old
version of SSLeay (now known as OpenSSL.)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/socketmodule.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index a9bfb26ac4..e95e33927b 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -1977,13 +1977,6 @@ static SSLObject *
newSSLObject(PySocketSockObject *Sock, char *key_file, char *cert_file)
{
SSLObject *self;
- char *str;
-
-#if 0
- meth=SSLv23_client_method();
- meth=SSLv3_client_method();
- meth=SSLv2_client_method();
-#endif
self = PyObject_New(SSLObject, &SSL_Type); /* Create new object */
if (self == NULL){