We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1111d8 commit a34b5d1Copy full SHA for a34b5d1
tests/net_inet/tls_text_errors.py
@@ -17,10 +17,12 @@ def test(addr):
17
# mbedtls produces "mbedtls -0x7200: SSL - An invalid SSL record was received"
18
# axtls produces "RECORD_OVERFLOW" but also prints "TLS buffer overflow,..."
19
# CPython produces "[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1108)"
20
+ # CPython newer version produces "[SSL] record layer failure (_ssl.c:1000)"
21
ok = (
22
"SSL_INVALID_RECORD" in str(e)
23
or "RECORD_OVERFLOW" in str(e)
24
or "wrong version" in str(e)
25
+ or "record layer failure" in str(e)
26
)
27
print("wrap:", ok)
28
if not ok:
0 commit comments