[New-bugs-announce] [issue43920] OpenSSL 3.0.0: handle empty cadata consistently

Christian Heimes report at bugs.python.org
Fri Apr 23 05:52:47 EDT 2021

New submission from Christian Heimes <lists at cheimes.de>:

OpenSSL 3.0.0-alpha15 handles empty data input to d2i_X509_bio() and PEM_read_bio_X509() differently. This causes cadata test for invalid data to fail with inconsistent error message.

Let's handle 0 result case more consistent and raise an error message that is more understandable than "no start line" or "not enough data".

assignee: christian.heimes
components: SSL
messages: 391673
nosy: christian.heimes
priority: normal
severity: normal
status: open
title: OpenSSL 3.0.0: handle empty cadata consistently
type: behavior
versions: Python 3.10, Python 3.11, Python 3.8, Python 3.9

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list