aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Web
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2021-02-04 22:16:48 +0100
committerMario Vavti <mario@mariovavti.com>2021-02-04 22:16:48 +0100
commit19007dd8ebc0d4364cff56c923f5ea8fad018b76 (patch)
tree78ce535e6ad536d474dd301d5c1f7f4a376b6659 /Zotlabs/Web
parent03e1f5f8a41c88e8feea19784d7521435e7e4b2e (diff)
downloadvolse-hubzilla-19007dd8ebc0d4364cff56c923f5ea8fad018b76.tar.gz
volse-hubzilla-19007dd8ebc0d4364cff56c923f5ea8fad018b76.tar.bz2
volse-hubzilla-19007dd8ebc0d4364cff56c923f5ea8fad018b76.zip
move key conversion to separate lib
Diffstat (limited to 'Zotlabs/Web')
-rw-r--r--Zotlabs/Web/HTTPSig.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Web/HTTPSig.php b/Zotlabs/Web/HTTPSig.php
index 7c3903682..8dd999e59 100644
--- a/Zotlabs/Web/HTTPSig.php
+++ b/Zotlabs/Web/HTTPSig.php
@@ -3,8 +3,8 @@
namespace Zotlabs\Web;
use Zotlabs\Lib\ActivityStreams;
+use Zotlabs\Lib\Keyutils;
use Zotlabs\Lib\Webfinger;
-use Zotlabs\Web\HTTPHeaders;
use Zotlabs\Lib\Libzot;
/**
@@ -252,7 +252,7 @@ class HTTPSig {
return rsatopem($key);
}
elseif(substr($key,0,5) === 'data:') {
- return convert_salmon_key($key);
+ return Keyutils::convertSalmonKey($key);
}
else {
return $key;