Android CTS 7.1 Release 18 (4800211)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCWyA83QAKCRDorT+BmrEO
eGaSAJ9Prrj84W0lvgUl+H2NgJUbpCHhCwCfYKm84uCCsatcWiqtVnwrlSvwixY=
=ao+b
-----END PGP SIGNATURE-----
Remove SSL_CTX_set_tmp_ecdh call

This now has the undesired effect of making a client only support this
curve for ECDHE. This used to be needed to allow a server to handshake
with ECDHE, but is now unnecessary for BoringSSL. The client doesn't
want this call and the server no longer needs this call, so delete it.

(cherry picked from commit 1ba6bcf113085c493ccd4574ed685cd0efad4aeb)

Test: mmma -j32 external/conscrypt && make -j32 build-art-host vogar && vogar --mode host --classpath out/host/common/obj/JAVA_LIBRARIES/core-tests-support-hostdex_intermediates/classes.jack --classpath out/host/common/obj/JAVA_LIBRARIES/core-tests-hostdex_intermediates/classes.jack libcore/luni/src/test/java/libcore/javax/net/ssl/SSLSocketTest.java
Bug: 31393711
Change-Id: Ib7afdcc3ea7ee3d2222a262f3c57abd065a4b4e1
1 file changed