summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Hoyt <josh@janrain.com>2006-01-06 03:34:42 +0000
committerJosh Hoyt <josh@janrain.com>2006-01-06 03:34:42 +0000
commit0290fd793f5e71ce7550d2264f5e1616f3661013 (patch)
tree088930f136ce3c89cccf200ece41f2289c9c1357
parentdda0e5d3b3d004fba69dd07982f12118bf29213f (diff)
downloadphp-openid-0290fd793f5e71ce7550d2264f5e1616f3661013.zip
php-openid-0290fd793f5e71ce7550d2264f5e1616f3661013.tar.gz
php-openid-0290fd793f5e71ce7550d2264f5e1616f3661013.tar.bz2
[project @ Do not check for dumb math library in DiffieHellman module, since that's never instantiated now.]
-rw-r--r--Net/OpenID/DiffieHellman.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/Net/OpenID/DiffieHellman.php b/Net/OpenID/DiffieHellman.php
index 118e7c2..663b877 100644
--- a/Net/OpenID/DiffieHellman.php
+++ b/Net/OpenID/DiffieHellman.php
@@ -56,13 +56,6 @@ class Net_OpenID_DiffieHellman {
E_USER_ERROR);
}
- if ($this->lib->type == 'dumb') {
- trigger_error("No usable big integer library present ".
- "(gmp or bcmath). Use of this math library wrapper".
- "is not permitted without big integer support.",
- E_USER_ERROR);
- }
-
if ($mod === null) {
$this->mod = $this->lib->init($_Net_OpenID_DEFAULT_MOD);
} else {