summaryrefslogtreecommitdiffstats
path: root/Doc/library/logging.rst
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@google.com>2023-03-24 13:04:30 (GMT)
committerGitHub <noreply@github.com>2023-03-24 13:04:30 (GMT)
commitacfe02f3b05436658d92add6b168538b30f357f0 (patch)
treea50504bd8a9806acbe3a25437fae0dc59d25dffa /Doc/library/logging.rst
parent6a1c49a7176f29435e71a326866d952b686bceb3 (diff)
downloadcpython-acfe02f3b05436658d92add6b168538b30f357f0.zip
cpython-acfe02f3b05436658d92add6b168538b30f357f0.tar.gz
cpython-acfe02f3b05436658d92add6b168538b30f357f0.tar.bz2
gh-100372: Use BIO_eof to detect EOF for SSL_FILETYPE_ASN1 (GH-100373)
In PEM, we need to parse until error and then suppress `PEM_R_NO_START_LINE`, because PEM allows arbitrary leading and trailing data. DER, however, does not. Parsing until error and suppressing `ASN1_R_HEADER_TOO_LONG` doesn't quite work because that error also covers some cases that should be rejected. Instead, check `BIO_eof` early and stop the loop that way. Automerge-Triggered-By: GH:Yhg1s
Diffstat (limited to 'Doc/library/logging.rst')
0 files changed, 0 insertions, 0 deletions