aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/LDSignatures.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-09-21 17:44:59 -0700
committerzotlabs <mike@macgirvin.com>2017-09-21 17:44:59 -0700
commitb772a5f564d44fd41a2bf823097b5af5c04339fa (patch)
tree663d77a29fcc027f0ca7a102649453d65a075557 /Zotlabs/Lib/LDSignatures.php
parent4372e1fcda6bf92da881d1712f05aa18f321bdba (diff)
parent234e9476fbd7fabaae3c891c9791c7c0e60b2d7a (diff)
downloadvolse-hubzilla-b772a5f564d44fd41a2bf823097b5af5c04339fa.tar.gz
volse-hubzilla-b772a5f564d44fd41a2bf823097b5af5c04339fa.tar.bz2
volse-hubzilla-b772a5f564d44fd41a2bf823097b5af5c04339fa.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'Zotlabs/Lib/LDSignatures.php')
-rw-r--r--Zotlabs/Lib/LDSignatures.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/Zotlabs/Lib/LDSignatures.php b/Zotlabs/Lib/LDSignatures.php
index 31ffd71f1..d500799c0 100644
--- a/Zotlabs/Lib/LDSignatures.php
+++ b/Zotlabs/Lib/LDSignatures.php
@@ -12,7 +12,10 @@ class LDSignatures {
$ohash = self::hash(self::signable_options($data['signature']));
$dhash = self::hash(self::signable_data($data));
- return rsa_verify($ohash . $dhash,base64_decode($data['signature']['signatureValue']), $pubkey);
+ $x = rsa_verify($ohash . $dhash,base64_decode($data['signature']['signatureValue']), $pubkey);
+ logger('LD-verify: ' . intval($x));
+
+ return $x;
}
static function dopplesign(&$data,$channel) {