From 6425cdfc457611b9a5a526ecd700e690b33108f6 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Wed, 17 Jun 2020 16:59:54 +0100 Subject: [PATCH] functionMap: narrow possible return values of openssl_verify() --- src/Reflection/SignatureMap/functionMap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Reflection/SignatureMap/functionMap.php b/src/Reflection/SignatureMap/functionMap.php index e82712421a..11a7e53b2f 100644 --- a/src/Reflection/SignatureMap/functionMap.php +++ b/src/Reflection/SignatureMap/functionMap.php @@ -8123,7 +8123,7 @@ 'openssl_spki_export_challenge' => ['string|null', 'spkac'=>'string'], 'openssl_spki_new' => ['string|null', 'privkey'=>'resource', 'challenge'=>'string', 'algorithm='=>'int'], 'openssl_spki_verify' => ['bool', 'spkac'=>'string'], -'openssl_verify' => ['int', 'data'=>'string', 'signature'=>'string', 'pub_key_id'=>'resource|string', 'signature_alg='=>'int|string'], +'openssl_verify' => ['-1|0|1', 'data'=>'string', 'signature'=>'string', 'pub_key_id'=>'resource|string', 'signature_alg='=>'int|string'], 'openssl_x509_check_private_key' => ['bool', 'cert'=>'string|resource', 'key'=>'string|resource|array'], 'openssl_x509_checkpurpose' => ['bool|int', 'x509cert'=>'string|resource', 'purpose'=>'int', 'cainfo='=>'array', 'untrustedfile='=>'string'], 'openssl_x509_export' => ['bool', 'x509'=>'string|resource', '&w_output'=>'string', 'notext='=>'bool'],