Skip to content

openssl_seal has up to 6 parameter#327

Merged
ondrejmirtes merged 2 commits intophpstan:masterfrom
foppelfb:patch-1
Sep 27, 2020
Merged

openssl_seal has up to 6 parameter#327
ondrejmirtes merged 2 commits intophpstan:masterfrom
foppelfb:patch-1

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

Development

Successfully merging this pull request may close these issues.

2 participants