diff options
author | Jaime Perez Crespo <jaime.perez@uninett.no> | 2015-04-23 15:57:12 +0200 |
---|---|---|
committer | Jaime Perez Crespo <jaime.perez@uninett.no> | 2015-04-23 15:57:12 +0200 |
commit | 27d889e9049bb47eb0771331671551e057e77452 (patch) | |
tree | 4a125a3c03b355808416171acc5c4dc4019ae738 /lib/SimpleSAML/Utils/Crypto.php | |
parent | bde2b257fa96aaef0306002a6b06e15b834b8554 (diff) | |
download | simplesamlphp-27d889e9049bb47eb0771331671551e057e77452.zip simplesamlphp-27d889e9049bb47eb0771331671551e057e77452.tar.gz simplesamlphp-27d889e9049bb47eb0771331671551e057e77452.tar.bz2 |
Move SimpleSAML_Utilities::resolveCert() to SimpleSAML\Utils\Config::getCertPath() and deprecate the former.
Diffstat (limited to 'lib/SimpleSAML/Utils/Crypto.php')
-rw-r--r-- | lib/SimpleSAML/Utils/Crypto.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SimpleSAML/Utils/Crypto.php b/lib/SimpleSAML/Utils/Crypto.php index 8eab717..06c30aa 100644 --- a/lib/SimpleSAML/Utils/Crypto.php +++ b/lib/SimpleSAML/Utils/Crypto.php @@ -130,7 +130,7 @@ class Crypto } } - $file = \SimpleSAML_Utilities::resolveCert($file); + $file = Config::getCertPath($file); $data = @file_get_contents($file); if ($data === false) { throw new \SimpleSAML_Error_Exception('Unable to load private key from file "'.$file.'"'); |