diff options
author | zotlabs <mike@macgirvin.com> | 2017-04-01 15:30:59 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-04-01 15:30:59 -0700 |
commit | 810d9e21bcf35c3897718d8eb5a798372656f517 (patch) | |
tree | 2e36921ad52aa450c3a98bdb7d80af1521645097 /include/zot.php | |
parent | 7256579c168fbda8e8d5fc8a0e9de179fa27534c (diff) | |
download | volse-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.php | 3 |
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']) |