diff options
author | Kenny Root <kroot@google.com> | 2014-11-13 10:14:46 -0800 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2014-11-13 16:41:21 -0800 |
commit | ef7f5a16547089a7cdba9e48d780720f606ff54a (patch) | |
tree | 8fc806054b576aec179b4c46536431254deac294 /support/src | |
parent | 258e3d158c9a876307d5111972f7e9f1ad87b076 (diff) | |
download | libcore-ef7f5a16547089a7cdba9e48d780720f606ff54a.zip libcore-ef7f5a16547089a7cdba9e48d780720f606ff54a.tar.gz libcore-ef7f5a16547089a7cdba9e48d780720f606ff54a.tar.bz2 |
JarUtils: stop trying to build chain past candidates length
If the certs in the PKCS#7 bag are in a loop, it will go on forever
trying to build a chain. Instead just stop trying to build the chain
when our chain exceeds the length of the candidates.
Bug: 17972577
Change-Id: If4f92e3eeabe893612a618bab0068a0f8cf75ea9
Diffstat (limited to 'support/src')
-rw-r--r-- | support/src/test/java/tests/resources/hyts_certLoop.jar | bin | 0 -> 14389 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/support/src/test/java/tests/resources/hyts_certLoop.jar b/support/src/test/java/tests/resources/hyts_certLoop.jar Binary files differnew file mode 100644 index 0000000..cb4ebe1 --- /dev/null +++ b/support/src/test/java/tests/resources/hyts_certLoop.jar |