Index: runtime/bin/secure_socket_boringssl.cc |
diff --git a/runtime/bin/secure_socket_boringssl.cc b/runtime/bin/secure_socket_boringssl.cc |
index 6e3b7fc73ce4afd60ca2334e15b170f482418de6..bff65115653f31acc52faa3a81abed157d63d0d4 100644 |
--- a/runtime/bin/secure_socket_boringssl.cc |
+++ b/runtime/bin/secure_socket_boringssl.cc |
@@ -1505,6 +1505,10 @@ void SSLFilter::Connect(const char* hostname, |
SSL_set_mode(ssl_, SSL_MODE_AUTO_RETRY); // TODO(whesse): Is this right? |
SSL_set_ex_data(ssl_, filter_ssl_index, this); |
+#if defined(TARGET_OS_FUCHSIA) |
+ // Temporary workaround until we isolate the memory leak issue. |
+ SSL_set_verify(ssl_, SSL_VERIFY_NONE, NULL); |
+#else |
if (is_server_) { |
int certificate_mode = |
request_client_certificate ? SSL_VERIFY_PEER : SSL_VERIFY_NONE; |
@@ -1529,6 +1533,7 @@ void SSLFilter::Connect(const char* hostname, |
CheckStatus(status, "TlsException", |
"Set hostname for certificate checking"); |
} |
+#endif // defined(TARGET_OS_FUCHSIA) |
// Make the connection: |
if (is_server_) { |
status = SSL_accept(ssl_); |