summaryrefslogtreecommitdiff
path: root/plugins/OStatus/classes/FeedSub.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-12-20 13:06:58 -0800
committerBrion Vibber <brion@pobox.com>2010-12-20 13:06:58 -0800
commit46123e37543be4ea784e90528176fd205bfece49 (patch)
tree40385bf85e2f6c5695785d03ffda9898ac0b60f3 /plugins/OStatus/classes/FeedSub.php
parenta4e2f3835643c1d4b6d228151de2f863c02cb63c (diff)
*cough* don't commit the code that breaks your code that you used to test the debug code :DHEADmaster
Diffstat (limited to 'plugins/OStatus/classes/FeedSub.php')
-rw-r--r--plugins/OStatus/classes/FeedSub.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/OStatus/classes/FeedSub.php b/plugins/OStatus/classes/FeedSub.php
index 97245203d..7756f6a23 100644
--- a/plugins/OStatus/classes/FeedSub.php
+++ b/plugins/OStatus/classes/FeedSub.php
@@ -483,7 +483,7 @@ class FeedSub extends Memcached_DataObject
if ($this->secret) {
if (preg_match('/^sha1=([0-9a-fA-F]{40})$/', $hmac, $matches)) {
$their_hmac = strtolower($matches[1]);
- $our_hmac = hash_hmac('sha1', $post, $this->secret) . 'x';
+ $our_hmac = hash_hmac('sha1', $post, $this->secret);
if ($their_hmac === $our_hmac) {
return true;
}