summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-24 16:26:35 (GMT)
committerThomas Wouters <thomas@python.org>2000-07-24 16:26:35 (GMT)
commitc44221271a98993ec468fa3c1c99165a40b59895 (patch)
tree1473c40d399d4229606e5a02dc89b4afd2e3d845 /Modules
parent1e0c2f4bee43728930bd5f4dc77283f09c4ba004 (diff)
downloadcpython-c44221271a98993ec468fa3c1c99165a40b59895.zip
cpython-c44221271a98993ec468fa3c1c99165a40b59895.tar.gz
cpython-c44221271a98993ec468fa3c1c99165a40b59895.tar.bz2
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 a9bfb26..e95e339 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){