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 |