]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Math_BigInteger doesn't correctly handle serialization/deserialization for a value...
authorBrion Vibber <brion@pobox.com>
Mon, 22 Mar 2010 19:17:45 +0000 (12:17 -0700)
committerBrion Vibber <brion@pobox.com>
Mon, 22 Mar 2010 19:17:45 +0000 (12:17 -0700)
commit27bfd1211d64298ee3c3b2d82d7b38ca1e1167ad
tree487110ff5e0d85e185e842d2d9d1c23087029844
parent4168b9cec1f7b2e6421c018e56e3b9a13c14d581
Math_BigInteger doesn't correctly handle serialization/deserialization for a value of 0, which can end up spewing notices to output and otherwise intefering with Salmon signature setup and verification when using memcached.
Worked around this with a subclass that fixes the wakeup, used for the stored 0 value in the subclassed Crypt_RSA.
plugins/OStatus/classes/Magicsig.php
plugins/OStatus/lib/safecrypt_rsa.php [new file with mode: 0644]
plugins/OStatus/lib/safemath_biginteger.php [new file with mode: 0644]