Skip to content

Conversation

reaperhulk
Copy link
Member

as davidben points out in #9926 we are calling a load certificates function and an empty value doesn't necessarily mean empty because PKCS7 contains multitudes. erroring is more correct.

as davidben points out in pyca#9926 we are calling a specific load
certificates function and an empty value doesn't necessarily mean empty
because PKCS7 contains multitudes. erroring is more correct.
Copy link
Member

@alex alex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changelog

Co-authored-by: Alex Gaynor <[email protected]>
@alex alex merged commit 3165db8 into pyca:main Dec 1, 2023
@reaperhulk reaperhulk deleted the error-instead branch December 2, 2023 15:48
frenzymadness pushed a commit to frenzymadness/cryptography that referenced this pull request Feb 7, 2024
…loading (pyca#9947)

* raise an exception instead of returning an empty list

as davidben points out in pyca#9926 we are calling a specific load
certificates function and an empty value doesn't necessarily mean empty
because PKCS7 contains multitudes. erroring is more correct.

* changelog

* Update CHANGELOG.rst

Co-authored-by: Alex Gaynor <[email protected]>

---------

Co-authored-by: Alex Gaynor <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants