aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-04-03 10:38:09 +0200
committerGitHub <noreply@github.com>2017-04-03 10:38:09 +0200
commitccc8a05eb0843111d72ac93dfc9d2616e448ccea (patch)
treed43cdf14bf2fbb319d8d94a496301a4478ea9731 /include/zot.php
parent95f4f14dca1ea982f67cccb31d860f7b8ed9055c (diff)
parenta76ad1478fb8cbc7914e94a24c7942de429c8445 (diff)
downloadvolse-hubzilla-ccc8a05eb0843111d72ac93dfc9d2616e448ccea.tar.gz
volse-hubzilla-ccc8a05eb0843111d72ac93dfc9d2616e448ccea.tar.bz2
volse-hubzilla-ccc8a05eb0843111d72ac93dfc9d2616e448ccea.zip
Merge pull request #711 from zotlabs/crypto-upgrade
crypto updates
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/zot.php b/include/zot.php
index 8a2178913..b3999920f 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -165,9 +165,6 @@ function zot_build_packet($channel, $type = 'notify', $recipients = null, $remot
function zot_best_algorithm($methods) {
- if(\Zotlabs\Lib\System::get_server_role() !== 'pro')
- return 'aes256cbc';
-
$x = [ 'methods' => $methods, 'result' => '' ];
call_hooks('zot_best_algorithm',$x);
if($x['result'])