diff options
author | zotlabs <mike@macgirvin.com> | 2018-01-13 13:45:33 -0800 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2018-01-14 07:46:47 +0100 |
commit | a70db805b7a7b8f428b6cd78fb5a567184530b6b (patch) | |
tree | 12e311e06600fa7129a56c85b1397617b4caf42b /Zotlabs | |
parent | 750e0a8d113180bcb73a00360c75f8f1af0fd854 (diff) | |
download | volse-hubzilla-a70db805b7a7b8f428b6cd78fb5a567184530b6b.tar.gz volse-hubzilla-a70db805b7a7b8f428b6cd78fb5a567184530b6b.tar.bz2 volse-hubzilla-a70db805b7a7b8f428b6cd78fb5a567184530b6b.zip |
unexpected openssl result
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Owa.php | 1 | ||||
-rw-r--r-- | Zotlabs/Web/HTTPSig.php | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Owa.php b/Zotlabs/Module/Owa.php index 8764a33ee..537489687 100644 --- a/Zotlabs/Module/Owa.php +++ b/Zotlabs/Module/Owa.php @@ -38,6 +38,7 @@ class Owa extends \Zotlabs\Web\Controller { foreach($r as $hubloc) { $verified = \Zotlabs\Web\HTTPSig::verify('',$hubloc['xchan_pubkey']); if($verified && $verified['header_signed'] && $verified['header_valid']) { + logger('OWA header: ' . print_r($verified,true)); logger('OWA success: ' . $hubloc['hubloc_addr'],LOGGER_DATA); $ret['success'] = true; $token = random_string(32); diff --git a/Zotlabs/Web/HTTPSig.php b/Zotlabs/Web/HTTPSig.php index 9a8c23a9b..9a6c3cd39 100644 --- a/Zotlabs/Web/HTTPSig.php +++ b/Zotlabs/Web/HTTPSig.php @@ -117,7 +117,7 @@ class HTTPSig { logger('verified: ' . $x, LOGGER_DEBUG); - if($x === false) + if(! intval($x)) return $result; if(! $spoofable) |