]> granicus.if.org Git - python/commit
bpo-29738: Fix memory leak in _get_crl_dp (GH-526)
authorOlivier Vielpeau <olivielpeau@users.noreply.github.com>
Sat, 15 Apr 2017 01:06:07 +0000 (21:06 -0400)
committerMariatta <Mariatta@users.noreply.github.com>
Sat, 15 Apr 2017 01:06:07 +0000 (18:06 -0700)
commit2849cc34a8db93d448a62d69c462402347b50dcb
treed01e839920c3586df77c96dcd9c4ee362bd980b7
parent0dc5c3169dcd4853612d11ed8c92b12fa210c07f
bpo-29738: Fix memory leak in _get_crl_dp (GH-526)

* Remove conditional on free of `dps`, since `dps` is now allocated for
all versions of OpenSSL
* Remove call to `x509_check_ca` since it was only used to cache
the `crldp` field of the certificate
CRL_DIST_POINTS_free is available in all supported versions of OpenSSL
(recent 0.9.8+) and LibreSSL.
Modules/_ssl.c