Skip to content

Commit 51f75fc

Browse files
committed
gh-109945 do not call _setSSLError
Signed-off-by: Nigel Jones <[email protected]>
1 parent ab53dc1 commit 51f75fc

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
@@ -4398,7 +4398,7 @@ _ssl__SSLContext_set_ecdh_curve(PySSLContext *self, PyObject *name)
43984398
Py_DECREF(name_bytes);
43994399
if (!res) {
44004400
PyErr_Format(PyExc_ValueError,"unknown elliptic curves %R", name);
4401-
_setSSLError(get_state_ctx(self), NULL, 0, __FILE__, __LINE__);
4401+
//_setSSLError(get_state_ctx(self), NULL, 0, __FILE__, __LINE__);
44024402
return NULL;
44034403
}
44044404
#endif

0 commit comments

Comments
 (0)