aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-02-08 15:32:54 -0800
committerzotlabs <mike@macgirvin.com>2018-02-08 15:32:54 -0800
commit635c5e532bd945fe50dc3fae73e4da005158e3de (patch)
tree81e30da64bf7fa445350f7c51442dac55979e2da
parent4c27fa5c37fbe4fc6debaadeaf3b4b134bc9068b (diff)
downloadvolse-hubzilla-635c5e532bd945fe50dc3fae73e4da005158e3de.tar.gz
volse-hubzilla-635c5e532bd945fe50dc3fae73e4da005158e3de.tar.bz2
volse-hubzilla-635c5e532bd945fe50dc3fae73e4da005158e3de.zip
z6 testing
-rw-r--r--Zotlabs/Web/HTTPSig.php2
-rw-r--r--include/queue_fn.php4
-rw-r--r--include/zot.php2
3 files changed, 3 insertions, 5 deletions
diff --git a/Zotlabs/Web/HTTPSig.php b/Zotlabs/Web/HTTPSig.php
index 8c94a4ff0..dba5c4687 100644
--- a/Zotlabs/Web/HTTPSig.php
+++ b/Zotlabs/Web/HTTPSig.php
@@ -209,7 +209,7 @@ class HTTPSig {
. '",headers="' . $x['headers'] . '",signature="' . $x['signature'] . '"';
if($crypt_key) {
- $x = crypto_encapsulate($headerval,$crypt_key,$crypt_alg);
+ $x = crypto_encapsulate($headerval,$crypt_key,$crypt_algo);
logger(cryptosig: ' . print_r($x,true));
diff --git a/include/queue_fn.php b/include/queue_fn.php
index e50d58dd7..798ac36db 100644
--- a/include/queue_fn.php
+++ b/include/queue_fn.php
@@ -237,10 +237,6 @@ function queue_deliver($outq, $immediate = false) {
}
}
-
-
-
-
$msg = $outq['outq_notify'];
$result = zot_zot($outq['outq_posturl'],$msg,$channel,$host_crypto);
diff --git a/include/zot.php b/include/zot.php
index c00caebb4..16b0a1c8e 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -296,6 +296,8 @@ function zot_zot($url, $data, $channel = null,$crypto = null) {
$headers = [];
+logger('crypto: ' . print_r($crypto,true));
+
if($channel) {
$headers['X-Zot-Token'] = random_string();
$hash = \Zotlabs\Web\HTTPSig::generate_digest($data,false);