bpo-39272: Remove dead assignment from _ssl__SSLContext_load_verify_locations_impl (GH-17916)

This commit is contained in:
Alex Henrie 2020-01-09 09:12:12 +00:00 committed by Victor Stinner
parent 1a183faccb
commit a1c1be24cb
1 changed files with 0 additions and 1 deletions

View File

@ -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);