commit | d7c1f2b616bc5b03ba186e8b086ff012c30824bc | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Mar 10 13:11:16 2010 -0800 |
committer | Elliott Hughes <enh@google.com> | Wed Mar 10 13:42:58 2010 -0800 |
tree | 2a5279b68ceffbf1eb446861da17390a2c553618 | |
parent | b43c9fb9c581d94304e9a54ec96cf4d752e8d917 [diff] |
Fix Issue 7036: java.math.BigInteger ctor accepts invalid input. OpenSSL's BN library accepts pretty much all input, so if we want to follow Java's rules, we have to implement them ourselves. (The FormatterTest change is unrelated and fixes outstanding build breakage caused by me.) Bug: http://code.google.com/p/android/issues/detail?id=7036 Change-Id: I0f5413b56fad9289644927672bebf7c3d57e8042