We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f03315 commit 5494168Copy full SHA for 5494168
mnet/xmlrpc/client.php
@@ -295,7 +295,8 @@ function send($mnet_peer) {
295
296
// ok, it's signed, but is it signed with the right certificate ?
297
// do this *after* we check for an out of date key
298
- if (!openssl_verify($this->xmlrpcresponse, base64_decode($sig_parser->signature), $mnet_peer->public_key)) {
+ $verified = openssl_verify($this->xmlrpcresponse, base64_decode($sig_parser->signature), $mnet_peer->public_key);
299
+ if ($verified != 1) {
300
$this->error[] = 'Invalid signature';
301
}
302
0 commit comments