aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-02-08 15:36:22 -0800
committerzotlabs <mike@macgirvin.com>2018-02-08 15:36:22 -0800
commite4503f743e0a51ebb91401746bcfa800dd890dc9 (patch)
tree6aeaed1e9d39e0604dc7d9cc7a172272e5a4c2db /Zotlabs
parent635c5e532bd945fe50dc3fae73e4da005158e3de (diff)
downloadvolse-hubzilla-e4503f743e0a51ebb91401746bcfa800dd890dc9.tar.gz
volse-hubzilla-e4503f743e0a51ebb91401746bcfa800dd890dc9.tar.bz2
volse-hubzilla-e4503f743e0a51ebb91401746bcfa800dd890dc9.zip
logging
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Web/HTTPSig.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/Zotlabs/Web/HTTPSig.php b/Zotlabs/Web/HTTPSig.php
index dba5c4687..a6b8d67a4 100644
--- a/Zotlabs/Web/HTTPSig.php
+++ b/Zotlabs/Web/HTTPSig.php
@@ -194,6 +194,8 @@ class HTTPSig {
static function create_sig($request,$head,$prvkey,$keyid = 'Key',$send_headers = false,$auth = false,$alg = 'sha256',
$crypt_key = null, $crypt_algo = 'aes256ctr') {
+logger('cryptkey' . $crypt_key);
+
$return_headers = [];
if($alg === 'sha256') {
@@ -211,7 +213,7 @@ class HTTPSig {
if($crypt_key) {
$x = crypto_encapsulate($headerval,$crypt_key,$crypt_algo);
-logger(cryptosig: ' . print_r($x,true));
+logger('cryptosig: ' . print_r($x,true));
$headerval = 'iv="' . $x['iv'] . '",key="' . $x['key'] . '",alg="' . $x['alg'] . '",data="' . $x['data'];
}