    // Set SSL to client mode. Handshake happens in the loop below.
    SSL_set_connect_state(ssl_.get());
  
-@@ -1056,6 +1101,88 @@ int SSLClientSocketImpl::DoVerifyCert(int result) {
+@@ -1157,6 +1202,88 @@ ssl_verify_result_t SSLClientSocketImpl::VerifyCert() {
  
    start_cert_verification_time_ = base::TimeTicks::Now();
  

   if (SSLConnectionStatusToVersion(ssl_info.connection_status) <
       SSL_CONNECTION_VERSION_TLS1_2) {
diff --git a/net/ssl/client_cert_store_mac.cc b/net/ssl/client_cert_store_mac.cc
index 20cd53256f1b..e3cbb5e3ed7c 100644
--- a/net/ssl/client_cert_store_mac.cc
+++ b/net/ssl/client_cert_store_mac.cc
@@ -293,6 +293,21 @@ void AddIdentity(ScopedCFTypeRef<SecIdentityRef> sec_identity,
   }
 }
 

   // in the chain. Also fills in the has_* booleans for the digest algorithms
   // present in the chain.
diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc
index ce86e621144f..96478e60c250 100644
--- a/net/http/http_network_transaction.cc
+++ b/net/http/http_network_transaction.cc
@@ -1611,6 +1611,15 @@ int HttpNetworkTransaction::HandleSSLClientAuthError(int error) {
       return OK;
     }
   }
