Skip to content

Commit 67fd580

Browse files
committed
gh-109945 do not call _setSSLError
Signed-off-by: Nigel Jones <jonesn@uk.ibm.com>
1 parent 42ec0c8 commit 67fd580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_ssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4404,7 +4404,7 @@ _ssl__SSLContext_set_ecdh_curve(PySSLContext *self, PyObject *name)
44044404
Py_DECREF(name_bytes);
44054405
if (!res) {
44064406
PyErr_Format(PyExc_ValueError,"unknown elliptic curves %R", name);
4407-
_setSSLError(get_state_ctx(self), NULL, 0, __FILE__, __LINE__);
4407+
//_setSSLError(get_state_ctx(self), NULL, 0, __FILE__, __LINE__);
44084408
return NULL;
44094409
}
44104410
#endif

0 commit comments

Comments
 (0)