aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-01-25 10:49:17 +0100
committerMario Vavti <mario@mariovavti.com>2019-01-25 10:49:17 +0100
commit10587e3a842d7870c94bd52c23dedc5abc114bdc (patch)
tree16f8dcb6e76686c2da1dd51a1ee8b29be4c6a13f
parent073115e7ab556a0e4976f354ca02070ca87e0180 (diff)
downloadvolse-hubzilla-10587e3a842d7870c94bd52c23dedc5abc114bdc.tar.gz
volse-hubzilla-10587e3a842d7870c94bd52c23dedc5abc114bdc.tar.bz2
volse-hubzilla-10587e3a842d7870c94bd52c23dedc5abc114bdc.zip
return false if http signatue is not valid
-rw-r--r--Zotlabs/Lib/Libzot.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php
index 167e2d67d..1440a9691 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -308,8 +308,7 @@ class Libzot {
if(! $hsig_valid) {
logger('http signature not valid: ' . print_r($hsig,true));
- /// @FIXME $result is undefined
- return $result;
+ return false;
}