summaryrefslogtreecommitdiffstats
path: root/modules/core
diff options
context:
space:
mode:
authorJaime Perez Crespo <jaime.perez@uninett.no>2015-04-20 17:05:28 +0200
committerJaime Perez Crespo <jaime.perez@uninett.no>2015-04-20 17:05:28 +0200
commita38bf33da41b36cdb8350e2b35ea75e2317056d5 (patch)
treebd32e16cf8344016add7e5c04074544d51ec012a /modules/core
parent2548d57bbeed95989d3d0a3997995224e516a817 (diff)
downloadsimplesamlphp-a38bf33da41b36cdb8350e2b35ea75e2317056d5.zip
simplesamlphp-a38bf33da41b36cdb8350e2b35ea75e2317056d5.tar.gz
simplesamlphp-a38bf33da41b36cdb8350e2b35ea75e2317056d5.tar.bz2
Move SimpleSAML_Utils_Crypto to SimpleSAML\Utils\Crypto.
Diffstat (limited to 'modules/core')
-rw-r--r--modules/core/lib/Auth/Source/AdminPassword.php2
-rw-r--r--modules/core/www/postredirect.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/core/lib/Auth/Source/AdminPassword.php b/modules/core/lib/Auth/Source/AdminPassword.php
index adab5d6..12cf0dc 100644
--- a/modules/core/lib/Auth/Source/AdminPassword.php
+++ b/modules/core/lib/Auth/Source/AdminPassword.php
@@ -54,7 +54,7 @@ class sspmod_core_Auth_Source_AdminPassword extends sspmod_core_Auth_UserPassBas
throw new SimpleSAML_Error_Error('WRONGUSERPASS');
}
- if (!SimpleSAML_Utils_Crypto::pwValid($adminPassword, $password)) {
+ if (!SimpleSAML\Utils\Crypto::pwValid($adminPassword, $password)) {
throw new SimpleSAML_Error_Error('WRONGUSERPASS');
}
diff --git a/modules/core/www/postredirect.php b/modules/core/www/postredirect.php
index 7614d98..3daa0cd 100644
--- a/modules/core/www/postredirect.php
+++ b/modules/core/www/postredirect.php
@@ -16,7 +16,7 @@ if (array_key_exists('RedirId', $_REQUEST)) {
throw new SimpleSAML_Error_BadRequest('Invalid RedirInfo data.');
}
- list($sessionId, $postId) = explode(':', SimpleSAML_Utils_Crypto::aesDecrypt($encData));
+ list($sessionId, $postId) = explode(':', SimpleSAML\Utils\Crypto::aesDecrypt($encData));
if (empty($sessionId) || empty($postId)) {
throw new SimpleSAML_Error_BadRequest('Invalid session info data.');