- 17 Sep, 2015 1 commit
-
-
Neil Fuller authored
The tests were order-dependent and flawed: test support classes were used in multiple tests but each relied on it being possible to detect static initialization of those classes. There was an incorrect assertion. This change splits out unique test support classes for those that need them, adds more assertions and fixes the broken assertion. Also tidies up some warnings. Bug: 23031484 Change-Id: Ia3bb32dd1dbd02a74931604cae424d7e9312c76d (cherry picked from commit 729d4eca) (cherry picked from commit 5f3b815a)
-
- 22 Jul, 2015 2 commits
-
-
Daniel Xie authored
Merge "DO NOT MERGE ANYWHERE: reverting 18432707 to kitkat-cts-dev due to missing CVE" into kitkat-cts-dev
-
Daniel Xie authored
to missing CVE Change-Id: I5688b4a658cef3b0822bfd9fc9ac0631abf6d733
-
- 14 Jul, 2015 2 commits
-
-
Daniel Xie authored
-
- 13 Jul, 2015 1 commit
-
-
Neil Fuller authored
Merge "Add testInterfaceProperties() . Move Ethernet verification out of testLoopback()." into kitkat-cts-dev
-
- 08 Jul, 2015 1 commit
-
-
Tochau Hoang authored
Add testInterfaceProperties(): verify if each interface can be retrieved using getByName(). Use type properties of these interfaces to determine if they are Ethernet. Perform address tests on all active Ethernet interfaces. Move Ethernet verification out of testLoopback into testInterfaceProperties. Change-Id: I1641f2995f4ceb858eda38d1ba6137382b2c7ba3 Signed-off-by:
Tochau Hoang <tochau.hoang@panasonic.aero>
-
- 28 May, 2015 3 commits
-
- 12 Dec, 2014 2 commits
-
-
Neil Fuller authored
* commit 'c8e1b9c1': Fix for TLS HTTP connections with GMS sockets
-
Neil Fuller authored
Change-Id: If065adcf5fafb6cee6dffdaef4cc84b4f22d741c
-
- 11 Dec, 2014 1 commit
-
-
Neil Fuller authored
The logic was incorrect. If the socket is not the platform version all connection attempts would be treated as fallbacks. Bug: 18675956 Change-Id: I7bb1f84127fbede75f12b0a8dec7d4a7374f0b22
-
- 19 Nov, 2014 3 commits
-
-
Alex Klyubin authored
* commit '08855205': Fix a bug in DefaultHostnameVerifier wildcard handling.
-
Alex Klyubin authored
* commit '77a7e48a': Fix a bug in DefaultHostnameVerifier wildcard handling.
-
Alex Klyubin authored
Wildcard domain name patterns of the form *.remainder are supposed to match domain names that exactly match the remainder. Due to a bug, the match was not exact but rather a prefix match: domain names starting with the remainder would match too. This CL fixes the issue. (cherry picked from commit eecc5b7c) Bug: 18432707 Change-Id: I3b7715adf7a66e57fafe2a0218a73f4ff2dd4182
-
- 10 Oct, 2014 2 commits
-
-
Neil Fuller authored
* commit '2164d895': Add support for TLS_FALLBACK_SCSV
-
Neil Fuller authored
Change-Id: I552e60c4cc00bf422aad5ba3939ed50eaef11e56
-
- 08 Oct, 2014 1 commit
-
-
Neil Fuller authored
Backport of commits: external/conscrypt: 8d7e23e117da591a8d48e6bcda9ed6f58ff1a375 libcore: e6a6e935 libcore: 957ec8b0 Plus additional changes to: luni/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLServerSocketImpl.java luni/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLSocketImpl.java luni/src/test/java/libcore/java/net/URLConnectionTest.java luni/src/test/java/org/apache/harmony/xnet/provider/jsse/CipherSuiteTest.java support/src/test/java/libcore/java/security/StandardNames.java to account for KitKat differences. Bug: 17750026 Change-Id: Ic6e9474275bc3ffec3b5c2d6df1f8d6ffe77bff8
-
- 07 Oct, 2014 1 commit
-
-
Neil Fuller authored
Backport of commits: external/conscrypt: 8d7e23e117da591a8d48e6bcda9ed6f58ff1a375 libcore: e6a6e935 libcore: 957ec8b0 Plus additional changes to: luni/src/main/java/libcore/net/http/HttpConnection.java luni/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLServerSocketImpl.java luni/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLSocketImpl.java luni/src/test/java/libcore/java/net/URLConnectionTest.java luni/src/test/java/org/apache/harmony/xnet/provider/jsse/CipherSuiteTest.java support/src/test/java/libcore/java/security/StandardNames.java to account for JellyBean differences. Bug: 17750026 Change-Id: I7b60b1260fa0b275631ce9987168c7b5fc7ca138
-
- 29 Aug, 2014 2 commits
-
-
Neil Fuller authored
* commit 'd6aa6177': Add additional field checks for deserialization.
-
Neil Fuller authored
* commit '008b2de6': Add additional field checks for deserialization.
-
- 28 Aug, 2014 1 commit
-
-
Neil Fuller authored
Check that a field is not static when deserializing. Contains some additional tests to confirm and document behavior and prevent regressions for field deserialization. (cherry picked from commit f4d72bcf) Bug: 17202597 Change-Id: I72456a8b45ca0de1d3dd2b0f9515548b02e0a7be
-
- 25 Jul, 2014 7 commits
-
-
Alex Klyubin authored
* commit '7c761052': DO NOT MERGE: Add a way to get all values of an attribute of DN.
-
Alex Klyubin authored
* commit '8114da7b': DO NOT MERGE: Add a way to get all values of an attribute of DN.
-
Alex Klyubin authored
Change-Id: I50ce5fdaf05829b51e5353671226d1dd73d831e9
-
Alex Klyubin authored
* commit '883946c5': DO NOT MERGE: Add a way to get all values of an attribute of DN.
-
Alex Klyubin authored
* commit '4fec20ec': DO NOT MERGE: Add a way to get all values of an attribute of DN.
-
Alex Klyubin authored
This is needed to switch Apache HTTP hostname verification from its own Distinguished Name (DN) parsing code to this library's DistinguishedNameParser. Bug: 16510257 (cherry picked from commit 7bbe7cb0) Change-Id: I4a20729dad557aebe0bd055736777e34b51167e8
- 21 Jul, 2014 8 commits
-
-
Neil Fuller authored
* commit '889e1d5a': Add additional checks in ObjectInputStream
-
Neil Fuller authored
* commit '1fe89b7b': Add additional checks in ObjectInputStream
-
Neil Fuller authored
* commit 'e0c6824f': Add additional checks in ObjectInputStream
-
Neil Fuller authored
Change-Id: I75aee3cb8a56197e6be60deb486c13e95f84644d
- 17 Jul, 2014 1 commit
-
-
Neil Fuller authored
Thanks to Jann Horn for reporting a bug in ObjectInputStream and sending the initial patch. Add some checks that the class of an object being deserialized still conforms to the requirements for serialization. Add some checks that the class being deserialized matches the type information (enum, serializable, externalizable) held in the stream. Delayed static initialization of classes until the type of the class has been validated against the stream content in some cases. Added more tests. Bug: 15874291 (cherry picked from commit 738c833d) Change-Id: I9f5437ed60936882de56589537176466624e631d
-
- 07 Jul, 2014 1 commit
-
-
Bill Yi authored
-