Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(674)

Unified Diff: net/ssl/test_ssl_private_key.h

Issue 2898573002: Refactor client cert private key handling. (Closed)
Patch Set: removed no longer needed forward declaration Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/ssl/ssl_platform_key_win.cc ('k') | net/ssl/test_ssl_private_key.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/test_ssl_private_key.h
diff --git a/net/ssl/test_ssl_private_key.h b/net/ssl/test_ssl_private_key.h
index 8508b77aaf574563225d205c447156214045914f..a8ebdbe05f9dc089ead46e831f808e4733e6f81b 100644
--- a/net/ssl/test_ssl_private_key.h
+++ b/net/ssl/test_ssl_private_key.h
@@ -9,6 +9,10 @@
#include "net/base/net_export.h"
#include "third_party/boringssl/src/include/openssl/base.h"
+namespace crypto {
+class RSAPrivateKey;
+}
+
namespace net {
class SSLPrivateKey;
@@ -17,6 +21,8 @@ class SSLPrivateKey;
// nullptr on error.
NET_EXPORT scoped_refptr<SSLPrivateKey> WrapOpenSSLPrivateKey(
bssl::UniquePtr<EVP_PKEY> key);
+NET_EXPORT scoped_refptr<SSLPrivateKey> WrapRSAPrivateKey(
+ crypto::RSAPrivateKey* rsa_private_key);
} // namespace net
« no previous file with comments | « net/ssl/ssl_platform_key_win.cc ('k') | net/ssl/test_ssl_private_key.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698