Skip to content

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.

@stof stof closed this Jun 4, 2025
@stof stof deleted the openssl_cipher_iv_length_benevolent branch June 4, 2025 11:36
@stof
Copy link
Contributor Author

stof commented Jun 4, 2025

I submitted another PR with the proper approach (and also applying it to openssl_cipher_key_length)

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