crypto updates

This commit is contained in:
zotlabs
2017-04-02 16:44:44 -07:00
parent 95f4f14dca
commit a76ad1478f
3 changed files with 35 additions and 15 deletions

View File

@@ -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'])