Project

General

Profile

Bug #21444 » openid-php53.diff

Administrator Admin, 2009-11-16 13:05

View differences:

typo3/sysext/openid/lib/php-openid/Auth/Yadis/Yadis.php (working copy)
}
$yadis_result = call_user_func_array($discover_func,
array($input_url, $fetcher));
array($input_url, &$fetcher));
if ($yadis_result === null) {
return array($input_url, array());
typo3/sysext/openid/lib/php-openid/Auth/Yadis/Manager.php (working copy)
list($yadis_url, $services) = call_user_func($discover_cb,
$this->url,
$fetcher);
&$fetcher);
$manager = $this->createManager($services, $yadis_url);
}
typo3/sysext/openid/lib/php-openid/Auth/Yadis/XRDS.php (working copy)
$matches = 0;
foreach ($filters as $filter) {
if (call_user_func_array($filter, array($service))) {
if (call_user_func_array($filter, array(&$service))) {
$matches++;
if ($filter_mode == SERVICES_YADIS_MATCH_ANY) {
typo3/sysext/openid/lib/php-openid/Auth/OpenID/Consumer.php (working copy)
'_completeInvalid');
return call_user_func_array(array(&$this, $method),
array($message, $endpoint, $return_to));
array($message, &$endpoint, $return_to));
}
/**
......
// oidutil.log('Performing discovery on %s' % (claimed_id,))
list($unused, $services) = call_user_func($this->discoverMethod,
$claimed_id,
$this->fetcher);
&$this->fetcher);
if (!$services) {
return new Auth_OpenID_FailureResponse(null,
typo3/sysext/openid/lib/php-openid/Auth/OpenID/Server.php (working copy)
{
if (method_exists($this, "openid_" . $request->mode)) {
$handler = array($this, "openid_" . $request->mode);
return call_user_func($handler, $request);
return call_user_func($handler, &$request);
}
return null;
}
typo3/sysext/openid/lib/php-openid/Auth/OpenID/HMAC.php (working copy)
$key = Auth_OpenID_SHA1($key, true);
}
if (function_exists('hash_hmac') && function_exists('hash_algos') && in_array('sha1', hash_algos())) {
return hash_hmac('sha1', $text, $key, true);
}
// Home-made solution
$key = str_pad($key, Auth_OpenID_SHA1_BLOCKSIZE, chr(0x00));
$ipad = str_repeat(chr(0x36), Auth_OpenID_SHA1_BLOCKSIZE);
$opad = str_repeat(chr(0x5c), Auth_OpenID_SHA1_BLOCKSIZE);
typo3/sysext/openid/lib/php-openid/Auth/OpenID/BigMath.php (working copy)
{
$loaded = false;
$hasDl = function_exists('dl');
foreach ($exts as $extension) {
// See if the extension specified is already loaded.
if ($extension['extension'] &&
......
}
// Try to load dynamic modules.
if (!$loaded) {
if (!$loaded && $hasDl) {
foreach ($extension['modules'] as $module) {
if (@dl($module . "." . PHP_SHLIB_SUFFIX)) {
if (@dl($module . '.' . PHP_SHLIB_SUFFIX)) {
$loaded = true;
break;
}
typo3/sysext/openid/lib/php-openid/Auth/OpenID/TrustRoot.php (working copy)
}
call_user_func_array($discover_function,
array($relying_party_url, $fetcher));
array($relying_party_url, &$fetcher));
$return_to_urls = array();
$matching_endpoints = Auth_OpenID_extractReturnURL($endpoints);
(4-4/4)