fix build with older openssl (#25569)

This commit is contained in:
Benjamin Peterson 2015-11-14 00:09:22 -08:00
parent 2e4571a456
commit 806fb25405

View 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;
}