Skip to content
New issue

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

gnupg_verify() accepts false for its signature param #925

Merged
merged 1 commit into from Jan 16, 2022
Merged

gnupg_verify() accepts false for its signature param #925

merged 1 commit into from Jan 16, 2022

Conversation

spaze
Copy link
Contributor

@spaze spaze commented Jan 16, 2022

From the PHP manual:
"signature: The signature. To verify a clearsigned text, set signature to false."
https://www.php.net/manual/en/function.gnupg-verify.php

Also plaintext param is passed by ref in both gnupg_verify and gnupg::verify.

From the PHP manual:
"signature: The signature. To verify a clearsigned text, set signature to false."
https://www.php.net/manual/en/function.gnupg-verify.php

Also plaintext param is passed by ref in both gnupg_verify and gnupg::verify.
@spaze spaze changed the title gnupg_verify() accepts false fot its signature param gnupg_verify() accepts false for its signature param Jan 16, 2022
@ondrejmirtes ondrejmirtes merged commit 251a9f1 into phpstan:master Jan 16, 2022
@ondrejmirtes
Copy link
Member

Thank you!

@spaze spaze deleted the patch-1 branch January 16, 2022 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants