From 19007dd8ebc0d4364cff56c923f5ea8fad018b76 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 4 Feb 2021 22:16:48 +0100 Subject: move key conversion to separate lib --- Zotlabs/Web/HTTPSig.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Zotlabs/Web') 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; -- cgit v1.2.3