We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
vendor/w7corp/easywechat/src/Pay/Validator.php的 openssl_verify函数返回值: 如果签名正确返回 1,签名错误返回 0,错误时返回 -1 或 [false] 应改为:
vendor/w7corp/easywechat/src/Pay/Validator.php
if (\openssl_verify( $message, base64_decode($signature), strval($publicKey), OPENSSL_ALGO_SHA256 ) !== 1) { throw new InvalidSignatureException('Invalid Signature'); }
The text was updated successfully, but these errors were encountered:
直接 PR 一个?
Sorry, something went wrong.
Update Validator.php
a829794
fix: w7corp#2843
直接 PR 一个? 已PR,盼审批。(:
8090679
Successfully merging a pull request may close this issue.
我用的环境
问题及现象
vendor/w7corp/easywechat/src/Pay/Validator.php
的 openssl_verify函数返回值:如果签名正确返回 1,签名错误返回 0,错误时返回 -1 或 [false]
应改为:
The text was updated successfully, but these errors were encountered: