diff --git a/modules/InfoCard/lib/STS.php b/modules/InfoCard/lib/STS.php index 9d8d137a7fd0c908e884ee93de82a0277817829f..a9530efd4694556e5c2241ade3e82e01f702f071 100644 --- a/modules/InfoCard/lib/STS.php +++ b/modules/InfoCard/lib/STS.php @@ -151,7 +151,7 @@ class sspmod_InfoCard_STS { $signature = ''; $privkey = openssl_pkey_get_private(file_get_contents($ICconfig['sts_key'])); - openssl_sign($canonicalbuf, &$signature, $privkey); + openssl_sign($canonicalbuf, $signature, $privkey); openssl_free_key($privkey); $infocard_signature = base64_encode($signature); diff --git a/modules/saml2debug/www/debug.php b/modules/saml2debug/www/debug.php index 0d1afa7b5e743e664f40d546ea78b6d0aa89764a..391b1b8057d5f203983dac567df35365bef87328 100644 --- a/modules/saml2debug/www/debug.php +++ b/modules/saml2debug/www/debug.php @@ -11,7 +11,7 @@ function getValue($raw) { if (!empty($url)) $val = $url; $arr = array(); - $query = parse_str($val, &$arr); + $query = parse_str($val, $arr); #echo('<pre>');print_r($arr);