]> granicus.if.org Git - python/commitdiff
fix build with older openssl (#25569)
authorBenjamin Peterson <benjamin@python.org>
Sat, 14 Nov 2015 08:09:22 +0000 (00:09 -0800)
committerBenjamin Peterson <benjamin@python.org>
Sat, 14 Nov 2015 08:09:22 +0000 (00:09 -0800)
Modules/_ssl.c

index 398a43aaf876be9ab74f6f07efb3a686ef502b19..c9c556e83234bfe497483db3d6405bfcd6edeb05 100644 (file)
@@ -1069,7 +1069,7 @@ _get_crl_dp(X509 *certificate) {
   done:
     Py_XDECREF(lst);
 #if OPENSSL_VERSION_NUMBER < 0x10001000L
-    sk_DIST_POINT_free(dsp);
+    sk_DIST_POINT_free(dps);
 #endif
     return res;
 }