Skip to content

Commit

Permalink
Fix backport.
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiy-storchaka committed Jan 31, 2024
1 parent 2d3926a commit 1adc41d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/_ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ PySSL_SetError(PySSLSocket *sslsock, int ret, const char *filename, int lineno)
} else {
if (ERR_GET_LIB(e) == ERR_LIB_SSL &&
ERR_GET_REASON(e) == SSL_R_CERTIFICATE_VERIFY_FAILED) {
type = state->PySSLCertVerificationErrorObject;
type = PySSLCertVerificationErrorObject;
}
p = PY_SSL_ERROR_SYSCALL;
}
Expand Down

0 comments on commit 1adc41d

Please sign in to comment.