summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Hoyt <josh@janrain.com>2006-09-20 19:58:42 +0000
committerJosh Hoyt <josh@janrain.com>2006-09-20 19:58:42 +0000
commit5a6544e5637405c7aba7b12ce4e76adb3ef222b2 (patch)
treecb2e076fe2e04d91c27f298b743604ebc06fcfa6
parentb42521174e7a8c4713284a1ca05b9491ab463cb4 (diff)
downloadphp-openid-5a6544e5637405c7aba7b12ce4e76adb3ef222b2.zip
php-openid-5a6544e5637405c7aba7b12ce4e76adb3ef222b2.tar.gz
php-openid-5a6544e5637405c7aba7b12ce4e76adb3ef222b2.tar.bz2
[project @ Fix server test to have constants in decimal rather than hex so that bcmath can understand them.]
-rw-r--r--Tests/Auth/OpenID/Server.php13
1 files changed, 9 insertions, 4 deletions
diff --git a/Tests/Auth/OpenID/Server.php b/Tests/Auth/OpenID/Server.php
index 8eadb41..0e0d3b4 100644
--- a/Tests/Auth/OpenID/Server.php
+++ b/Tests/Auth/OpenID/Server.php
@@ -16,10 +16,15 @@ function altModulus()
static $num = null;
if (!$num) {
- $num = $lib->init('0xCAADDDEC1667FC68B5FA15D53C4E1532DD24561A1A2D47A12C01ABEA1E00731F6'.
- '921AAC40742311FDF9E634BB7131BEE1AF240261554389A910425E044E88C8359B010F5AD2B80E'.
- '29CB1A5B027B19D9E01A6F63A6F45E5D7ED2FF6A2A0085050A7D0CF307C3DB51D2490355907B44'.
- '27C23A98DF1EB8ABEF2BA209BB7AFFE86A7');
+ $num = $lib->init("1423261515703355186607439952816216983770".
+ "5735494988446894302176757360889904836136".
+ "0422513557553514790045512299468953431585".
+ "3008125488594198571710943663581589034331".
+ "6791551733211386105974742540867014420109".
+ "9811846875730766487278261498262568348338".
+ "4764372005569983660877797099908075182915".
+ "81860338635288400119293970087"
+ );
}
return $num;