commit | 711e1695a61ca70f11dfba401c0a2c66545d12b8 | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Wed Jun 05 15:31:11 2013 -0700 |
committer | Kenny Root <kroot@google.com> | Wed Jun 05 15:46:39 2013 -0700 |
tree | 64aaf1bd544a1c80d63af29246bb7b779c99840e | |
parent | 1eba66d802f4edfaa3ca599f196e282bc110eff9 [diff] |
NativeCrypto: handle X.509 serial number 0 There is no need to try to convert numbers that are of zero length because they'll be zero anyway. Returning NULL in this instance caused a crash in X.509 code since it immediately tried to pass it to BigInteger which through a NullPointerException. (cherry picked from commit adadc611f606e693ed30b2e495326cb32968153d) Bug: 9297758 Change-Id: I719ca7b8f086937ee25094bfe981987def855744