    if (ssl_config_.client_cert.get()) {
      if (!ssl_config_.client_private_key) {
 diff --git a/net/ssl/client_cert_store_nss.cc b/net/ssl/client_cert_store_nss.cc
-index 7f22765..a2d39e4 100644
+index 7f22765..9130048 100644
 --- a/net/ssl/client_cert_store_nss.cc
 +++ b/net/ssl/client_cert_store_nss.cc
 @@ -109,6 +109,16 @@ void ClientCertStoreNSS::FilterCertsOnWorkerThread(

From 22b41700c078942ca2ed9b061748855f38eaa110 Mon Sep 17 00:00:00 2001
From: Dmitrii Pichulin <deem@deem.ru>
Date: Wed, 26 Jul 2017 19:36:08 +0300
Subject: [PATCH] added GOSTSSL

+
+            if( is_gost )
+            {
+                selected_certs.clear();
+                for( int i = 0; i < count; i++ )
+                    selected_certs.push_back( X509Certificate::CreateFromBytes( certs[i], lens[i] ) );
+                std::sort( selected_certs.begin(), selected_certs.end(), x509_util::ClientCertSorter() );
+            }
+        }
+    }
