aboutsummaryrefslogtreecommitdiffstats
path: root/mod/salmon.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/salmon.php')
-rw-r--r--mod/salmon.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/salmon.php b/mod/salmon.php
index 3a18f35f0..3c62a6d8c 100644
--- a/mod/salmon.php
+++ b/mod/salmon.php
@@ -158,8 +158,10 @@ function salmon_post(&$a) {
$verify = $rsa->verify($signed_data,$signature);
- if(! $verify)
+ if(! $verify) {
+ logger('mod-salmon: message did not verify using protocol. Trying statusnet hack.');
$verify = $rsa->verify($stnet_signed_data,$signature);
+ }
if(! $verify) {
logger('mod-salmon: Message did not verify. Discarding.');