[Python-checkins] cpython (2.7): fix build with older openssl (#25569)

benjamin.peterson python-checkins at python.org
Sat Nov 14 03:11:26 EST 2015


https://hg.python.org/cpython/rev/3b9fb8ebf44f
changeset:   99127:3b9fb8ebf44f
branch:      2.7
parent:      99120:7bc8f56ef1f3
user:        Benjamin Peterson <benjamin at python.org>
date:        Sat Nov 14 00:09:22 2015 -0800
summary:
  fix build with older openssl (#25569)

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


diff --git a/Modules/_ssl.c b/Modules/_ssl.c
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -1069,7 +1069,7 @@
   done:
     Py_XDECREF(lst);
 #if OPENSSL_VERSION_NUMBER < 0x10001000L
-    sk_DIST_POINT_free(dsp);
+    sk_DIST_POINT_free(dps);
 #endif
     return res;
 }

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


More information about the Python-checkins mailing list