Skip to content

Commit 6425cdf

Browse files
dktappsondrejmirtes
authored andcommitted
functionMap: narrow possible return values of openssl_verify()
1 parent e6ba8a0 commit 6425cdf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Reflection/SignatureMap/functionMap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8123,7 +8123,7 @@
81238123
'openssl_spki_export_challenge' => ['string|null', 'spkac'=>'string'],
81248124
'openssl_spki_new' => ['string|null', 'privkey'=>'resource', 'challenge'=>'string', 'algorithm='=>'int'],
81258125
'openssl_spki_verify' => ['bool', 'spkac'=>'string'],
8126-
'openssl_verify' => ['int', 'data'=>'string', 'signature'=>'string', 'pub_key_id'=>'resource|string', 'signature_alg='=>'int|string'],
8126+
'openssl_verify' => ['-1|0|1', 'data'=>'string', 'signature'=>'string', 'pub_key_id'=>'resource|string', 'signature_alg='=>'int|string'],
81278127
'openssl_x509_check_private_key' => ['bool', 'cert'=>'string|resource', 'key'=>'string|resource|array'],
81288128
'openssl_x509_checkpurpose' => ['bool|int', 'x509cert'=>'string|resource', 'purpose'=>'int', 'cainfo='=>'array', 'untrustedfile='=>'string'],
81298129
'openssl_x509_export' => ['bool', 'x509'=>'string|resource', '&w_output'=>'string', 'notext='=>'bool'],

0 commit comments

Comments
 (0)