From c845eed114ec3cea90acd35c419110d9ab76051f Mon Sep 17 00:00:00 2001 From: zotlabs Date: Wed, 30 Nov 2016 16:36:33 -0800 Subject: advanced crypto restricted by server role --- include/zot.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/zot.php') diff --git a/include/zot.php b/include/zot.php index e29978908..379a9b04c 100644 --- a/include/zot.php +++ b/include/zot.php @@ -166,6 +166,9 @@ 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'; + if($methods) { $x = explode(',',$methods); if($x) { -- cgit v1.2.3