mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Remove unused variable and what looks like an ancient relic of an old
version of SSLeay (now known as OpenSSL.)
This commit is contained in:
parent
1e0c2f4bee
commit
c44221271a
1 changed files with 0 additions and 7 deletions
|
@ -1977,13 +1977,6 @@ static SSLObject *
|
||||||
newSSLObject(PySocketSockObject *Sock, char *key_file, char *cert_file)
|
newSSLObject(PySocketSockObject *Sock, char *key_file, char *cert_file)
|
||||||
{
|
{
|
||||||
SSLObject *self;
|
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 */
|
self = PyObject_New(SSLObject, &SSL_Type); /* Create new object */
|
||||||
if (self == NULL){
|
if (self == NULL){
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue