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".
New changeset b9ad88b by Christian Heimes in branch 'master': bpo-43920: Make load_verify_locations(cadata) error message consistent (GH-25554) b9ad88b
New changeset e259a77 by Christian Heimes in branch '3.9':
[3.9] bpo-43920: Make load_verify_locations(cadata) error message consistent (GH-25554) (GH-25555) e259a77
New changeset 82b6c09 by Christian Heimes in branch '3.8':
[3.8] bpo-43920: Make load_verify_locations(cadata) error message consistent (GH-25554) (GH-25556) 82b6c09
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: