X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FUtil%2FCrypto.php;h=1b84a92f64a3f9e6ae7bcaa0815fc7a271b77432;hb=e52e505a481ed6f7e3766725d709b5f0653b036b;hp=a45fdf9faac6732768577c9d86123acaa6ac4294;hpb=df7ec0cdf7fdaf75a5897016f69254a97066f429;p=friendica.git diff --git a/src/Util/Crypto.php b/src/Util/Crypto.php index a45fdf9faa..1b84a92f64 100644 --- a/src/Util/Crypto.php +++ b/src/Util/Crypto.php @@ -1,18 +1,35 @@ . + * */ + 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; /** - * @brief Crypto class + * Crypto class */ class Crypto { @@ -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; }