Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a benevolent union type in openssl_cipher_iv_length #3582

Open
wants to merge 1 commit into
base: 1.12.x
Choose a base branch
from

Conversation

stof
Copy link
Contributor

@stof stof commented Oct 24, 2024

This function returns false (and triggers a warning) only when the argument is an unknown algorithm, which is not something worth checking when using this function with a known algorithm.

This function returns `false` (and triggers a warning) only when the
argument is an unknown algorithm, which is not something worth checking
when using this function with a known algorithm.
Copy link
Member

@ondrejmirtes ondrejmirtes left a comment

Choose a reason for hiding this comment

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

Nope, this should be handled more like mb_ functions are handled with mb_list_encodings. See MbFunctionsReturnTypeExtensionTrait.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants