aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-04-01 15:30:59 -0700
committerzotlabs <mike@macgirvin.com>2017-04-01 15:30:59 -0700
commit810d9e21bcf35c3897718d8eb5a798372656f517 (patch)
tree2e36921ad52aa450c3a98bdb7d80af1521645097 /include/zot.php
parent7256579c168fbda8e8d5fc8a0e9de179fa27534c (diff)
downloadvolse-hubzilla-810d9e21bcf35c3897718d8eb5a798372656f517.tar.gz
volse-hubzilla-810d9e21bcf35c3897718d8eb5a798372656f517.tar.bz2
volse-hubzilla-810d9e21bcf35c3897718d8eb5a798372656f517.zip
use aes-ctr which is slightly/arguably better than a poke in the eye and don't restrict the crypto algorithm by server role.
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'])