[Python-checkins] cpython: _ssl.c: strip trailing spaces
victor.stinner
python-checkins at python.org
Tue Jun 25 00:48:28 CEST 2013
http://hg.python.org/cpython/rev/28f47a5d59b9
changeset: 84334:28f47a5d59b9
user: Victor Stinner <victor.stinner at gmail.com>
date: Tue Jun 25 00:44:31 2013 +0200
summary:
_ssl.c: strip trailing spaces
files:
Modules/_ssl.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -205,7 +205,7 @@
int npn_protocols_len;
#endif
#ifndef OPENSSL_NO_TLSEXT
- PyObject *set_hostname;
+ PyObject *set_hostname;
#endif
} PySSLContext;
@@ -1810,7 +1810,7 @@
self->npn_protocols = NULL;
#endif
#ifndef OPENSSL_NO_TLSEXT
- self->set_hostname = NULL;
+ self->set_hostname = NULL;
#endif
/* Defaults */
SSL_CTX_set_verify(self->ctx, SSL_VERIFY_NONE, NULL);
@@ -2463,7 +2463,7 @@
if (ssl_socket == Py_None) {
goto error;
}
-
+
if (servername == NULL) {
result = PyObject_CallFunctionObjArgs(ssl_ctx->set_hostname, ssl_socket,
Py_None, ssl_ctx, NULL);
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list