diff options
author | Alex Henrie <alexhenrie24@gmail.com> | 2020-01-09 09:12:12 (GMT) |
---|---|---|
committer | Victor Stinner <vstinner@python.org> | 2020-01-09 09:12:12 (GMT) |
commit | a1c1be24cb3ae25b5b53e9dc94d6327009626283 (patch) | |
tree | c2aabc4347e560e3d472c1cf069687232d785fa3 /Modules/_ssl.c | |
parent | 1a183faccbe5c32c367dbced721a25c1444dc5c1 (diff) | |
download | cpython-a1c1be24cb3ae25b5b53e9dc94d6327009626283.zip cpython-a1c1be24cb3ae25b5b53e9dc94d6327009626283.tar.gz cpython-a1c1be24cb3ae25b5b53e9dc94d6327009626283.tar.bz2 |
bpo-39272: Remove dead assignment from _ssl__SSLContext_load_verify_locations_impl (GH-17916)
Diffstat (limited to 'Modules/_ssl.c')
-rw-r--r-- | Modules/_ssl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 43b236c..a0d34b3 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -4223,7 +4223,6 @@ _ssl__SSLContext_load_verify_locations_impl(PySSLContext *self, r = SSL_CTX_load_verify_locations(self->ctx, cafile_buf, capath_buf); PySSL_END_ALLOW_THREADS if (r != 1) { - ok = 0; if (errno != 0) { ERR_clear_error(); PyErr_SetFromErrno(PyExc_OSError); |