From 46123e37543be4ea784e90528176fd205bfece49 Mon Sep 17 00:00:00 2001
From: Brion Vibber <brion@pobox.com>
Date: Mon, 20 Dec 2010 13:06:58 -0800
Subject: [PATCH] *cough* don't commit the code that breaks your code that you
 used to test the debug code :D

---
 plugins/OStatus/classes/FeedSub.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/OStatus/classes/FeedSub.php b/plugins/OStatus/classes/FeedSub.php
index 97245203d5..7756f6a234 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;
                 }
-- 
2.39.5