aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Connedit.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2021-02-20 13:39:54 +0000
committerMax Kostikov <max@kostikov.co>2021-02-20 13:39:54 +0000
commitcc5571687971ddcc097abb5e5c57689005d5b070 (patch)
tree1b2ed0f46b307f09d109350f777438fd04742905 /Zotlabs/Module/Connedit.php
parente1d622c49f95aec51e5c1bd521dcd6fe2a9a5372 (diff)
parentddad4f604b56656086b32992ef98709be2568a37 (diff)
downloadvolse-hubzilla-cc5571687971ddcc097abb5e5c57689005d5b070.tar.gz
volse-hubzilla-cc5571687971ddcc097abb5e5c57689005d5b070.tar.bz2
volse-hubzilla-cc5571687971ddcc097abb5e5c57689005d5b070.zip
Merge branch 'dev' into 'dev'
Dev sync See merge request kostikov/core!1
Diffstat (limited to 'Zotlabs/Module/Connedit.php')
-rw-r--r--Zotlabs/Module/Connedit.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Connedit.php b/Zotlabs/Module/Connedit.php
index 582563451..44211c8b9 100644
--- a/Zotlabs/Module/Connedit.php
+++ b/Zotlabs/Module/Connedit.php
@@ -9,6 +9,7 @@ namespace Zotlabs\Module;
use App;
use Zotlabs\Lib\Apps;
+use Zotlabs\Lib\Crypto;
use Zotlabs\Lib\Libzot;
use Zotlabs\Lib\Libsync;
use Zotlabs\Daemon\Master;
@@ -178,7 +179,7 @@ class Connedit extends Controller {
if(! $is_self) {
$signed = $orig_record[0]['abook_xchan'] . '.' . $rating . '.' . $rating_text;
- $sig = base64url_encode(rsa_sign($signed,$channel['channel_prvkey']));
+ $sig = base64url_encode(Crypto::sign($signed,$channel['channel_prvkey']));
$rated = ((intval($rating) || strlen($rating_text)) ? true : false);