[Python-checkins] cpython (3.3): _ssl.c: strip trailing spaces

victor.stinner python-checkins at python.org
Sun Jun 23 15:18:48 CEST 2013


http://hg.python.org/cpython/rev/1bd49f8a30da
changeset:   84269:1bd49f8a30da
branch:      3.3
parent:      84266:ef5175d08e7e
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Sun Jun 23 14:58:43 2013 +0200
summary:
  _ssl.c: strip trailing spaces

files:
  Modules/_ssl.c |  10 +++++-----
  1 files changed, 5 insertions(+), 5 deletions(-)


diff --git a/Modules/_ssl.c b/Modules/_ssl.c
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -1136,7 +1136,7 @@
     const unsigned char *out;
     unsigned int outlen;
 
-    SSL_get0_next_proto_negotiated(self->ssl, 
+    SSL_get0_next_proto_negotiated(self->ssl,
                                    &out, &outlen);
 
     if (out == NULL)
@@ -1763,8 +1763,8 @@
 #ifdef OPENSSL_NPN_NEGOTIATED
 /* this callback gets passed to SSL_CTX_set_next_protos_advertise_cb */
 static int
-_advertiseNPN_cb(SSL *s, 
-                 const unsigned char **data, unsigned int *len, 
+_advertiseNPN_cb(SSL *s,
+                 const unsigned char **data, unsigned int *len,
                  void *args)
 {
     PySSLContext *ssl_ctx = (PySSLContext *) args;
@@ -1781,7 +1781,7 @@
 }
 /* this callback gets passed to SSL_CTX_set_next_proto_select_cb */
 static int
-_selectNPN_cb(SSL *s, 
+_selectNPN_cb(SSL *s,
               unsigned char **out, unsigned char *outlen,
               const unsigned char *server, unsigned int server_len,
               void *args)
@@ -2848,7 +2848,7 @@
     }
     if (PyModule_AddObject(m, "lib_codes_to_names", lib_codes_to_names))
         return NULL;
-    
+
     /* OpenSSL version */
     /* SSLeay() gives us the version of the library linked against,
        which could be different from the headers version.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list