From 66334374af2a19fb76383028975724b9eda03cf2 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 25 Sep 2017 17:30:33 -0700 Subject: zot_site_info - always sign the site block with the site private key --- include/zot.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/zot.php') diff --git a/include/zot.php b/include/zot.php index 1a9692ae9..a9ec95baa 100644 --- a/include/zot.php +++ b/include/zot.php @@ -4183,7 +4183,7 @@ function zotinfo($arr) { if($x) $ret['locations'] = $x; - $ret['site'] = zot_site_info($e); + $ret['site'] = zot_site_info(); check_zotinfo($e,$x,$ret); @@ -4195,10 +4195,10 @@ function zotinfo($arr) { } -function zot_site_info($channel = null) { +function zot_site_info() { - $signing_key = (($channel) ? $channel['channel_prvkey'] : get_config('system','prvkey')); - $sig_method = get_config('system','signature_algorithm','sha256'); + $signing_key = get_config('system','prvkey'); + $sig_method = get_config('system','signature_algorithm','sha256'); $ret = []; $ret['site'] = []; -- cgit v1.2.3