diff options
author | zotlabs <mike@macgirvin.com> | 2017-08-28 19:12:35 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-08-28 19:12:35 -0700 |
commit | 06be21af0521f135ba0de41b90f9e64ad8e4b691 (patch) | |
tree | de45f9845c5ef9d99e71d75ca6dd611e01aef63d /Zotlabs/Lib/LDSignatures.php | |
parent | ab5e7ad7a20d86dc611988df487b2edb38d14c21 (diff) | |
download | volse-hubzilla-06be21af0521f135ba0de41b90f9e64ad8e4b691.tar.gz volse-hubzilla-06be21af0521f135ba0de41b90f9e64ad8e4b691.tar.bz2 volse-hubzilla-06be21af0521f135ba0de41b90f9e64ad8e4b691.zip |
use top level for verification
Diffstat (limited to 'Zotlabs/Lib/LDSignatures.php')
-rw-r--r-- | Zotlabs/Lib/LDSignatures.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/LDSignatures.php b/Zotlabs/Lib/LDSignatures.php index 7afce7700..7bc4fe957 100644 --- a/Zotlabs/Lib/LDSignatures.php +++ b/Zotlabs/Lib/LDSignatures.php @@ -10,7 +10,7 @@ class LDSignatures { static function verify($data,$pubkey) { $ohash = self::hash(self::signable_options($data['signature'])); - $dhash = self::hash(self::signable_data($data['signature'])); + $dhash = self::hash(self::signable_data($data)); return rsa_verify($ohash . $dhash,base64_decode($data['signature']['signatureValue']), $pubkey); } |