Skip to content

Commit 1223686

Browse files
authored
openssl_seal has up to 6 parameter
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
1 parent ec01a65 commit 1223686

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/functionMap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8118,7 +8118,7 @@
81188118
'openssl_public_decrypt' => ['bool', 'data'=>'string', '&w_decrypted'=>'string', 'key'=>'string|resource', 'padding='=>'int'],
81198119
'openssl_public_encrypt' => ['bool', 'data'=>'string', '&w_crypted'=>'string', 'key'=>'string|resource', 'padding='=>'int'],
81208120
'openssl_random_pseudo_bytes' => ['string|false', 'length'=>'int', '&w_crypto_strong='=>'bool'],
8121-
'openssl_seal' => ['int|false', 'data'=>'string', '&w_sealed_data'=>'string', '&w_env_keys'=>'array', 'pub_key_ids'=>'array', 'method='=>'string'],
8121+
'openssl_seal' => ['int|false', 'data'=>'string', '&w_sealed_data'=>'string', '&w_env_keys'=>'array', 'pub_key_ids'=>'array', 'method='=>'string', '&iv'=>'string'],
81228122
'openssl_sign' => ['bool', 'data'=>'string', '&w_signature'=>'string', 'priv_key_id'=>'resource|string', 'signature_alg='=>'int|string'],
81238123
'openssl_spki_export' => ['string|null', 'spkac'=>'string'],
81248124
'openssl_spki_export_challenge' => ['string|null', 'spkac'=>'string'],

0 commit comments

Comments
 (0)