boringSsl 在 android M 中出错

boringSsl makes mistake in android M

好像androidM根据behavior-network[BoringSSL]OpenSSL移到了BoringSSL库。但是我的怎么处理openssl connection in the app 之前? 我的应用有问题:

09-30 10:40:54.241    6211-6624/com.hundsun.winner W/System.err﹕ Caused by: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0xd6dcce00: Failure in SSL library, usually a protocol error
09-30 10:40:54.241    6211-6624/com.hundsun.winner W/System.err﹕ error:100c1069:SSL routines:ssl3_get_server_key_exchange:BAD_DH_P_LENGTH (external/boringssl/src/ssl/s3_clnt.c:1193 0xe93a350f:0x00000000)
09-30 10:40:54.241    6211-6624/com.hundsun.winner W/System.err﹕ at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
09-30 10:40:54.241    6211-6624/com.hundsun.winner W/System.err﹕ at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:324)
09-30 10:40:54.241    6211-6624/com.hundsun.winner W/System.err﹕ … 5 more

您的服务器使用的 DH 组大小小于 1024 位?尝试增加它。

https://boringssl.googlesource.com/boringssl/+/a7997f12be358e58aeb2345bb8b88a9d53240024%5E!/