]> 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 63a0f9ca43b040ad0ff35ff25568907876de6247..23e9be767cd10202f1ada8a9f81a167442fca7d8 100644 (file)
@@ -1081,7 +1081,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;
 }