9e569de9108ef0fa5ce043ee51e3fc467863c95f |
21-Mar-2017 |
Kenny Root <kenny@the-b.org> |
Add Java 8 style SNI hostname to OpenSSLEngineImpl (#155) The SNIHostName, et al., support was lacking from OpenSSLEngineImpl causing endpoint protocol identification to fail in Netty tests.
ain/java/org/conscrypt/Platform.java
|
5b8d4ea8eafa01d7ea1ca0b5526acb62a0530732 |
16-Mar-2017 |
Kenny Root <kroot@google.com> |
Suppress Error-Prone warnings These warnings are not useful here, so suppress them.
ain/java/org/conscrypt/KitKatPlatformOpenSSLSocketImplAdapter.java
ain/java/org/conscrypt/Platform.java
ain/java/org/conscrypt/PreKitKatPlatformOpenSSLSocketImplAdapter.java
|
f79fb7a1e4932bf36caba0b22973996c5e973287 |
17-Mar-2017 |
Kenny Root <kroot@google.com> |
Use getDeclaredConstructor().newInstance() This allows some compile-time checks to be performed by the compiler. In this instance we don't do anything with the failure. See http://errorprone.info/bugpattern/ClassNewInstance for more info.
ain/java/org/conscrypt/Platform.java
|
602e69e9dc78b3426eb85a2826e58bdbe489f62b |
17-Mar-2017 |
Kenny Root <kroot@google.com> |
Use SocketImpl directly SocketImpl is directly in the API, so there is no need to use Class.forName(...) to get it.
ain/java/org/conscrypt/Platform.java
|
56a0c0da60a1b3671aeaac2403eb31141aa088dc |
19-Jan-2017 |
Kenny Root <kroot@google.com> |
Revert "Do not try to loadLibrary for GmsCore (#53)" This reverts commit c41349bae4d2c15cdd041a7939167fa380bacc43.
ain/java/org/conscrypt/NativeCryptoJni.java
|
4dda677bc68b64a47c07df9f76fa8d30066bcfc1 |
24-Jan-2017 |
Kenny Root <kenny@the-b.org> |
Add more verbose logging to setSoWriteTimeout failures (#57) Some combination of Android versions and/or socket types are failing to set the socket write timeout. Add more verbose logging in an attempt to figure out where the failure is so a fix can be developed.
ain/java/org/conscrypt/Platform.java
|
c41349bae4d2c15cdd041a7939167fa380bacc43 |
17-Jan-2017 |
Kenny Root <kenny@the-b.org> |
Do not try to loadLibrary for GmsCore (#53) GmsCore loads the JNI libraries before calling into the Java code, so do not bother trying to call System.loadLibrary in Conscrypt.
ain/java/org/conscrypt/NativeCryptoJni.java
|
c1e64b936526491fdc1836e7b0913f7514cdc378 |
12-Jan-2017 |
Kenny Root <kenny@the-b.org> |
Fix new clang-format violations (#34) This isn't being checked by travis, so it tends to slip in. Change-Id: I0e588e2dfd7fe9e3f6dab2eb68c54ffacef21b19
ain/java/org/conscrypt/Platform.java
|
7fd3ce56f64da06231da2479c02ef1e592eb3b0e |
20-Dec-2016 |
Kenny Root <kroot@google.com> |
Fix Android lint errors Address all of the Android Lint errors that exist in the code. For things outside of the android/ subtree, add a lint.xml file. Test: ./gradlew build
ain/java/org/conscrypt/Platform.java
|
eedccbc08c1b562f1c09270631c9b1897e17da4a |
20-Dec-2016 |
Kenny Root <kroot@google.com> |
Android compat: add TargetApi annotations Android Lint was complaining about these calls to fetch the SNI hostname, so extract them into separate functions with TargetApi annotations to appease the linter. Test: ./gradlew build Test: cts-tradefed run cts -m CtsLibcoreOkHttpTestCases -a arm64-v8a Test: cts-tradefed run cts -m CtsLibcoreTestCases -a arm64-v8a Change-Id: I4cd74914049a276698d40bf28838a0402a574a94
ain/java/org/conscrypt/Platform.java
|
518f2b0a42588463b936d8b7f23b447550e3e54f |
14-Dec-2016 |
nmittler <nathanmittler@google.com> |
Fixing some android warnings Change-Id: I105847bfa2aff6ca870eb3e24bb9a971c78192f2
ain/java/org/conscrypt/Platform.java
|
6389f951c91d586377d1d7b47dd7ae9fde8fc7ba |
13-Dec-2016 |
Kenny Root <kroot@google.com> |
Do not reference ExtendedSSLSession directly Android SDK 23 and before does not have ExtendedSSLSession so we can't reference any subclass of that directly since NoClassDefFound error would be thrown. Hide away the instanceof check in Platform where we can check for an SDK version before referencing the class. Test: cts-tradefed run cts -m CtsLibcoreOkHttpTestCases -a arm64-v8a Test: cts-tradefed run cts -m CtsLibcoreTestCases -a arm64-v8a Change-Id: Idcab66b0fa2275491226ad80e1a499897739deaa
ain/java/org/conscrypt/Platform.java
|
485f59ef78a981b17c53659fa7a5509a0d357478 |
01-Dec-2016 |
Kenny Root <kroot@google.com> |
Create abstract base for OpenSSL-backed SSLSession This will aid in creating an SSL*-backed implementation of the Java language SSLSession class for use when we have not established a session already during handshake or when in False Start. Test: cts-tradefed run cts -m CtsLibcoreOkHttpTestCases -a arm64-v8a Test: cts-tradefed run cts -m CtsLibcoreTestCases -a arm64-v8a Change-Id: I58cfbee2940412beaed4a8d4d38211ecfbce7ec9
ain/java/org/conscrypt/Platform.java
|
3a727d8783630cd4631024d1205a87cd3172ff0b |
06-Dec-2016 |
nmittler <nathanmittler@google.com> |
Fix android gradle build Change-Id: Ie6e6f7d08886886d3677ac1c767fc528fb91d1d2
ain/AndroidManifest.xml
|
7782d132fab6ac9f30b97d76ed3a51126ed3e6d1 |
22-Nov-2016 |
nmittler <nathanmittler@google.com> |
Restructuring conscrypt into submodules Change-Id: I2a4dea5d2a5f35b29fdbb96bcdae1888a4fe2b7e
ain/AndroidManifest.xml
ain/java/org/conscrypt/BaseOpenSSLSocketAdapterFactory.java
ain/java/org/conscrypt/KitKatPlatformOpenSSLSocketAdapterFactory.java
ain/java/org/conscrypt/KitKatPlatformOpenSSLSocketImplAdapter.java
ain/java/org/conscrypt/NativeCryptoJni.java
ain/java/org/conscrypt/Platform.java
ain/java/org/conscrypt/PreKitKatPlatformOpenSSLSocketAdapterFactory.java
ain/java/org/conscrypt/PreKitKatPlatformOpenSSLSocketImplAdapter.java
ain/res/values/strings.xml
|