]> git.mxchange.org Git - friendica.git/blobdiff - include/crypto.php
Merge pull request #3961 from MrPetovan/task/3946-use-random-bytes
[friendica.git] / include / crypto.php
index 4600e7291b7c3ec27622bbb4af64c02f5dfcb22c..703439baa1615b61365ece621ee28e9d7836b4a7 100644 (file)
@@ -1,5 +1,7 @@
 <?php
 
+use Friendica\Core\Config;
+
 require_once 'library/ASNValue.class.php';
 require_once 'library/asn1.php';
 
@@ -146,7 +148,7 @@ function new_keypair($bits) {
                'encrypt_key'      => false
        );
 
-       $conf = get_config('system', 'openssl_conf_file');
+       $conf = Config::get('system', 'openssl_conf_file');
        if ($conf) {
                $openssl_options['config'] = $conf;
        }