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

openssl_seal has up to 6 parameter #327

Merged
merged 2 commits into from Sep 27, 2020
Merged

Conversation

foppelfb
Copy link
Contributor

openssl_seal can have up to 6 parameters, depending on the algorithm used, an $iv has to be given or is returned as reference.
see as well: https://www.php.net/manual/en/function.openssl-seal.php
proof of concept: https://phpstan.org/r/e7f47fab-99c0-4e61-8573-0fd5128ca1c8

openssl_seal can have up to 6 parameters, depending on the algorithm used, an $iv has to be given or is returned as reference.
see as well: https://www.php.net/manual/en/function.openssl-seal.php
proof of concept: https://phpstan.org/r/e7f47fab-99c0-4e61-8573-0fd5128ca1c8
@ondrejmirtes
Copy link
Member

Can you use &w_iv or &rw_iv? Thanks.

@foppelfb
Copy link
Contributor Author

done, see latest patch

@ondrejmirtes ondrejmirtes merged commit 36e4e39 into phpstan:master Sep 27, 2020
@ondrejmirtes
Copy link
Member

Thank you!

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