Skip to content
Snippets Groups Projects
Commit 0621db8a authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo
Browse files

Revert "Fix psalm issues."

This reverts commit 9ad60fe1.
parent 9ad60fe1
Branches
Tags
No related merge requests found
......@@ -49,7 +49,6 @@ class Crypto
// authenticate the ciphertext
if (self::secureCompare(hash_hmac('sha256', $iv.$msg, substr($key, 64, 64), true), $hmac)) {
/** @var string|false $plaintext */
$plaintext = openssl_decrypt(
$msg,
'AES-256-CBC',
......
......@@ -756,7 +756,6 @@ class HTTP
{
$cfg = \SimpleSAML_Configuration::getInstance();
$baseDir = $cfg->getBaseDir();
/** @var string|false $cur_path */
$cur_path = realpath($_SERVER['SCRIPT_FILENAME']);
// make sure we got a string from realpath()
$cur_path = is_string($cur_path) ? $cur_path : '';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment