Crypt_DiffieHellman dependencies
| From: | Thomas Anderson | Date: | Thu, 25 Jun 2009 21:28:13 +0000 |
| Subject: | Crypt_DiffieHellman dependencies | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-52231@lists.php.net to get a copy of this message | ||
http://pear.php.net/package/Crypt_DiffieHellman/download
According to that, the only PHP Extension required is mbstring. Shouldn't
'bcmath or gmp' be listed as dependencies, as well?:
http://cvs.php.net/viewvc.cgi/pear/Crypt_DiffieHellman/DiffieHellman/Math/BigInteger/
Also, it seems strange that Crypt_DiffieHellman would have its own
implementation of Math_BigInteger when there's already a Math_BigInteger
class in PEAR:
http://pear.php.net/package/Math_BigInteger/
Using Crypt_DiffieHellman as precedent, the soon to be proposed OpenID
library should have its own Crypt_DiffieHellman implementation, ignoring the
existing implementation, and HTML_Progress2 and HTML_QuickForm_Livesearch
should reimplement HTML_AJAX rather than using the existing implementation
already in PEAR.
Besides, using Math_BigInteger would eliminate the need to state 'bcmath or
gmp' as dependencies.