Skip to content

Commit 31ce5f0

Browse files
authored
Update Modules/_ssl.c
1 parent 4362dae commit 31ce5f0

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
@@ -545,7 +545,7 @@ format_ssl_error_message(PyObject *lib, PyObject *reason, PyObject *verify,
545545
const size_t filename_len = 6; /* strlen("_ssl.c") */
546546
// Crude upper bound on the number of characters taken by the line number.
547547
// We expect -1 <= lineno < 1e8. More lines are unlikely to happen.
548-
assert(lineno > -1);
548+
assert(lineno >= -1);
549549
assert(lineno < 1e8);
550550
const size_t lineno_len = 8;
551551
const size_t base_alloc = (

0 commit comments

Comments
 (0)