Issue #8477: _ssl._test_decode_cert() supports str with surrogates and bytes
for the filename
2 files changed