  int SSLClientSocketImpl::Connect(CompletionOnceCallback callback) {
    // Although StreamSocket does allow calling Connect() after Disconnect(),
    // this has never worked for layered sockets. CHECK to detect any consumers
-@@ -497,6 +522,26 @@ int SSLClientSocketImpl::Connect(CompletionOnceCallback callback) {
+@@ -494,6 +519,26 @@ int SSLClientSocketImpl::Connect(CompletionOnceCallback callback) {
      return rv;
    }
  

+                if( gost_rv != OK )
+                    server_cert_verify_result_.cert_status = MapNetErrorToCertStatus( gost_rv );
+                server_cert_verify_result_.verified_cert = server_cert_;
+                return gost_rv;
+            }
+        }
+    }

   // 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;
     }
   }
