Index: runtime/bin/secure_socket_boringssl.cc |
diff --git a/runtime/bin/secure_socket_boringssl.cc b/runtime/bin/secure_socket_boringssl.cc |
index 6062e620a7972e20a1344ba5577293c9310d4e54..280d1f7238f5e4e6e48d604ac9a279167643a5bc 100644 |
--- a/runtime/bin/secure_socket_boringssl.cc |
+++ b/runtime/bin/secure_socket_boringssl.cc |
@@ -1522,10 +1522,6 @@ 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; |
@@ -1550,7 +1546,6 @@ 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_); |