diff options
author | Kenny Root <kroot@google.com> | 2013-06-05 15:31:11 -0700 |
---|---|---|
committer | The Android Automerger <android-build@android.com> | 2013-06-06 15:21:17 -0700 |
commit | 14ef82a89fe1170e9d58363be75a489e425c6f75 (patch) | |
tree | 64aaf1bd544a1c80d63af29246bb7b779c99840e /annotations/generate_annotated_java_files.py | |
parent | df622e97f428295cbb19c8bd04433d8febb6d8b3 (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
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions