X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FUtil%2FCrypto.php;h=1b84a92f64a3f9e6ae7bcaa0815fc7a271b77432;hb=e52e505a481ed6f7e3766725d709b5f0653b036b;hp=ce75973e01da6d49882e88ce8829230f4957aa90;hpb=0a4119adaf6294bf43d135a0f435c1dd677c50e0;p=friendica.git diff --git a/src/Util/Crypto.php b/src/Util/Crypto.php index ce75973e01..1b84a92f64 100644 --- a/src/Util/Crypto.php +++ b/src/Util/Crypto.php @@ -1,15 +1,32 @@ . + * */ + namespace Friendica\Util; use ASN_BASE; use ASNValue; -use Friendica\Core\Config; use Friendica\Core\Hook; use Friendica\Core\Logger; use Friendica\Core\System; +use Friendica\DI; /** * Crypto class @@ -240,7 +257,7 @@ class Crypto 'encrypt_key' => false ]; - $conf = Config::get('system', 'openssl_conf_file'); + $conf = DI::config()->get('system', 'openssl_conf_file'); if ($conf) { $openssl_options['config'] = $conf; }