chromium-browser-stable/gost-88-89.diff

23 lines
808 B
Diff

Adaptation of GOST patch from v88 to v89
Upstream commit https://github.com/chromium/chromium/commit/aa2a8b5fb112e7e0d90 changed the code.
--- chromium.patch.orig 2021-03-07 21:10:32.163222162 +0300
+++ chromium.patch 2021-03-07 21:10:16.723847910 +0300
@@ -349,14 +349,14 @@
index d0b91b754498..8edc5d0c393e 100644
--- a/net/socket/socket.h
+++ b/net/socket/socket.h
-@@ -18,6 +18,9 @@ class IOBuffer;
- // Represents a read/write socket.
+@@ -22,6 +22,9 @@
class NET_EXPORT Socket {
public:
+ Socket();
+#ifndef NO_GOSTSSL
+ virtual int IsMSSPI() { return 0; }
+#endif // GOSTSSL
- virtual ~Socket() {}
+ virtual ~Socket();
// Reads data, up to |buf_len| bytes, from the socket. The number of bytes
diff --git a/net/socket/ssl_client_socket.cc b/net/socket/ssl_client_socket.cc