i8e
Arkady L. Shane 6 months ago
parent 49d2af1588
commit df8608519e
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

@ -0,0 +1,37 @@
From f063824bc5744404e4a24b14a6b3f9819a807c02 Mon Sep 17 00:00:00 2001
From: tigro <tigro@msvsphere-os.ru>
Date: Thu, 21 Mar 2024 21:50:59 +0300
Subject: [PATCH] Addon To GOST patch
---
net/ssl/ssl_platform_key_util.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/net/ssl/ssl_platform_key_util.h b/net/ssl/ssl_platform_key_util.h
index 2c19588228..340a3f5805 100644
--- a/net/ssl/ssl_platform_key_util.h
+++ b/net/ssl/ssl_platform_key_util.h
@@ -15,6 +15,9 @@
#include "base/memory/scoped_refptr.h"
#include "base/task/single_thread_task_runner.h"
#include "net/base/net_export.h"
+#ifndef NO_GOSTSSL
+#include "net/ssl/threaded_ssl_private_key.h"
+#endif // GOSTSSL
#include "third_party/boringssl/src/include/openssl/base.h"
namespace net {
@@ -28,6 +31,10 @@ class X509Certificate;
NET_EXPORT_PRIVATE scoped_refptr<base::SingleThreadTaskRunner>
GetSSLPlatformKeyTaskRunner();
+#ifndef NO_GOSTSSL
+NET_EXPORT_PRIVATE scoped_refptr<SSLPrivateKey> GetEmptyPrivateKey();
+#endif // GOSTSSL
+
// Returns the public key of |certificate| as an |EVP_PKEY| or nullptr on error.
bssl::UniquePtr<EVP_PKEY> GetClientCertPublicKey(
const X509Certificate* certificate);
--
2.44.0
Loading…
Cancel
Save