title: boringSsl makes mistake in android M
body: <p>It seems that android M  is moving away from <code>OpenSSL</code> to the <code>BoringSSL</code> library according to <a href="http://developer.android.com/about/versions/marshmallow/android-6.0-changes.html#behavior-network" rel="nofollow">behavior-network</a> <code>[BoringSSL]</code>.But how to deal with  my openssl connection in the app before?
  my app has problem:</p>
  
  <pre><code>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
  </code></pre>