    const uint8_t* ocsp_response_raw;
    size_t ocsp_response_len;
    SSL_get0_ocsp_response(ssl_.get(), &ocsp_response_raw, &ocsp_response_len);
-@@ -1605,6 +1693,18 @@ int SSLClientSocketImpl::ClientCertRequestCallback(SSL* ssl) {
+@@ -1605,6 +1694,18 @@ int SSLClientSocketImpl::ClientCertRequestCallback(SSL* ssl) {
      return -1;
    }
  
 +#ifndef NO_GOSTSSL
-+  if (ssl_config_.client_cert.get()) {
++  if (client_cert_.get()) {
 +    {
 +      const uint8_t* cert =
-+          CRYPTO_BUFFER_data(ssl_config_.client_cert.get()->cert_buffer());
++          CRYPTO_BUFFER_data(client_cert_.get()->cert_buffer());
 +      size_t len =
-+          CRYPTO_BUFFER_len(ssl_config_.client_cert.get()->cert_buffer());
++          CRYPTO_BUFFER_len(client_cert_.get()->cert_buffer());
 +      gostssl_certhook( (void*)cert, len );
 +    }
 +  }

From a50851e11058d04cc7d56058eef713e18010275e Mon Sep 17 00:00:00 2001
From: Dmitrii Pichulin <deem@deem.ru>
Date: Fri, 25 Oct 2019 17:44:37 +0300
Subject: [PATCH] chromium GOSTSSL

 net/ssl/ssl_platform_key_util.h               |   7 ++
 sandbox/win/src/process_mitigations.cc        |   4 +
 third_party/boringssl/BUILD.generated.gni     |   2 +
 19 files changed, 397 insertions(+), 45 deletions(-)

diff --git a/chrome/app/chromium_strings.grd b/chrome/app/chromium_strings.grd
index eaee8343c13d..47399f7e13a4 100644
