Message359654
The function _ssl__SSLContext_load_verify_locations_impl currently contains the following code:
if (r != 1) {
ok = 0;
if (errno != 0) {
ERR_clear_error();
PyErr_SetFromErrno(PyExc_OSError);
}
else {
_setSSLError(NULL, 0, __FILE__, __LINE__);
}
goto error;
}
}
goto end;
error:
ok = 0;
It is unnecessary to set ok to 0 before jumping to error because the first instruction after the error label does the same thing. |
|
Date |
User |
Action |
Args |
2020-01-09 04:27:44 | alex.henrie | set | recipients:
+ alex.henrie, christian.heimes |
2020-01-09 04:27:44 | alex.henrie | set | messageid: <1578544064.68.0.445985334082.issue39272@roundup.psfhosted.org> |
2020-01-09 04:27:44 | alex.henrie | link | issue39272 messages |
2020-01-09 04:27:44 | alex.henrie | create | |
|