diff options
author | Brion Vibber <brion@pobox.com> | 2010-03-24 13:57:20 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-03-24 13:57:20 -0700 |
commit | ecb009bcf5a6893b90d153be18c423dd7377796d (patch) | |
tree | a49b25af801b21aac04b62779d627221514dbb43 /plugins/OStatus/lib/safecrypt_rsa.php | |
parent | 9fe12be41eec8132fcfa6da2dc5fad926a932286 (diff) | |
parent | a954fd65ba00328cd1a76e620113d2f639340aaf (diff) |
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'plugins/OStatus/lib/safecrypt_rsa.php')
-rw-r--r-- | plugins/OStatus/lib/safecrypt_rsa.php | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/plugins/OStatus/lib/safecrypt_rsa.php b/plugins/OStatus/lib/safecrypt_rsa.php deleted file mode 100644 index f3aa2c928..000000000 --- a/plugins/OStatus/lib/safecrypt_rsa.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php - -require_once 'Crypt/RSA.php'; - -/** - * Crypt_RSA stores a Math_BigInteger with value 0, which triggers a bug - * in Math_BigInteger's wakeup function which spews notices to log or output. - * This wrapper replaces it with a version that survives serialization. - */ -class SafeCrypt_RSA extends Crypt_RSA -{ - function __construct() - { - parent::__construct(); - $this->zero = new SafeMath_BigInteger(); - } -} - |