ea9d4f163a463f3bd6ce84ce60293001e9680250 |
|
23-Feb-2017 |
Adam Vartanian <flooey@google.com> |
Conscrypt: Don't throw away all altnames when a bad one is seen Conscrypt is strict in following RFC 5280's requirement that DNS alternative names listed in X.509 certificates must be IA5Strings (aka 7-bit ASCII), with international domain names encoded in Punycode, but the existing implementation throws an exception when it encounters a nonconforming name, which results in the entire list of altnames being discarded whenever any of them are invalid. This change makes it so that only the nonconforming name is ignored, returning any other conforming names. There is a bit of adjustment to some of the other assert statements in the test because the canonical name in a certificate is ignored when altnames are present, so some of the test certificates change from the CN verifying to the CN not verifying due to the previously-discarded valid altnames now showing up. Bug: 1693101 Test: cts run -m CtsLibcoreTestCases Change-Id: I30bda625feb49fec45f5163e51ddb6486a96ca2f
|
c46a2ea848e7a62cd5ee24216e446ad7b9ba7629 |
|
19-Feb-2015 |
Piotr Jastrzebski <haaawk@google.com> |
Add missing package names for legacy harmony tests. Change-Id: I7bf808c7df0c432eb64b101506a7a419521c2e14
|
cf26d521c0606e37dc4346522b635de411517860 |
|
05-Jan-2015 |
Alex Klyubin <klyubin@google.com> |
Fix Harmony's HostnameVerifierTest breakage. These tests got broken by recent changes to the platform-default HostnameVerifier which no longer matches *.domain.com to domain.com. This CL fixes the affected tests by changing their expectaions. Bug: 18869757 Change-Id: I293b5f97f603a26a13cfd272a6175ef217ed4de3
|
e82be46881b2ab9d64b35c0ee53fc359b5cfd18a |
|
04-Dec-2014 |
Narayan Kamath <narayan@google.com> |
Rename packages to match directory structure. Doesn't make a difference to the CTS test runner (which runs these tests anyway) but vogar complains. bug: 18575971 Change-Id: Ifd323300f9c70a8625c215d8ff7d48ddd18083bd
|
ab762bb740405d0fefcccf4a0899a234f995be13 |
|
15-Nov-2013 |
Narayan Kamath <narayan@google.com> |
Move tests from tests/api to harmony-tests. (Take 2) This reverts commit d5e281743e55e1daa297fd8043b2d9b6e8e1bed2. The makefile issue that caused the original build break has been resolved.
|
d5e281743e55e1daa297fd8043b2d9b6e8e1bed2 |
|
15-Nov-2013 |
Narayan Kamath <narayan@google.com> |
Revert "Move tests from tests/api to harmony-tests." This reverts commit 81bf28ad31131815d0a36a43a0eca3c29aefdfcd. Breaks build Change-Id: I3f1562921ffe8fdbec36971dd65db398c27c92db
|
81bf28ad31131815d0a36a43a0eca3c29aefdfcd |
|
15-Nov-2013 |
Narayan Kamath <narayan@google.com> |
Move tests from tests/api to harmony-tests. The vast majority of cleaned up harmony tests are now in harmony-tests/src/test/org/apache/harmony/tests/ Change-Id: I56c2e484ff434b5618cf6751d602ae9f0db96b30
|