Skip to content

Commit

Permalink
fix GetSessionCacheKey API change
Browse files Browse the repository at this point in the history
  • Loading branch information
deemru committed Sep 19, 2019
1 parent 13b2a2f commit e3818b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions patch/chromium.patch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From e16046b3ff4ce43c3f789b742a5fa389a770904a Mon Sep 17 00:00:00 2001
From b2c855392e5fece1d4492f6d97ad843cf35a3f14 Mon Sep 17 00:00:00 2001
From: Dmitrii Pichulin <[email protected]>
Date: Mon, 5 Aug 2019 15:55:13 +0300
Subject: [PATCH] chromium GOSTSSL
Expand Down Expand Up @@ -311,7 +311,7 @@ index 9aea7f000c9f..55cea9dee2fc 100644
}

diff --git a/net/socket/ssl_client_socket_impl.cc b/net/socket/ssl_client_socket_impl.cc
index 1af7e165fb9b..e19dd055e2dc 100644
index 1af7e165fb9b..cb2a9240d485 100644
--- a/net/socket/ssl_client_socket_impl.cc
+++ b/net/socket/ssl_client_socket_impl.cc
@@ -452,6 +452,32 @@ int SSLClientSocketImpl::ExportKeyingMaterial(const base::StringPiece& label,
Expand Down Expand Up @@ -368,7 +368,7 @@ index 1af7e165fb9b..e19dd055e2dc 100644
+ }
+
+ if (cachestring)
+ [&]() NOCFI { cachestring(ssl_.get(), GetSessionCacheKey().data()); }();
+ [&]() NOCFI { cachestring(ssl_.get(), GetSessionCacheKey(base::nullopt).data()); }();
+ }
+#endif
+
Expand Down

0 comments on commit e3818b4

Please sign in to comment.