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

Unified Diff: net/ssl/ssl_platform_key_android.h

Issue 1304143010: Plumbing SSLPrivateKey Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix rebase. Created 4 years, 11 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/openssl_client_key_store_unittest.cc ('k') | net/ssl/ssl_platform_key_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/ssl_platform_key_android.h
diff --git a/net/ssl/ssl_platform_key_test.h b/net/ssl/ssl_platform_key_android.h
similarity index 61%
copy from net/ssl/ssl_platform_key_test.h
copy to net/ssl/ssl_platform_key_android.h
index 8dca06965225f2182cd3ab3d859b26cfa70ad1ec..bc73a7b402677265649c17e82cd877bba386d037 100644
--- a/net/ssl/ssl_platform_key_test.h
+++ b/net/ssl/ssl_platform_key_android.h
@@ -2,11 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef NET_SSL_SSL_PLATFORM_KEY_TEST_H_
-#define NET_SSL_SSL_PLATFORM_KEY_TEST_H_
-
-#include <openssl/digest.h>
-#include <openssl/evp.h>
+#ifndef NET_SSL_SSL_PLATFORM_KEY_ANDROID_H_
+#define NET_SSL_SSL_PLATFORM_KEY_ANDROID_H_
#include "base/memory/ref_counted.h"
#include "crypto/scoped_openssl_types.h"
@@ -16,11 +13,10 @@ namespace net {
class SSLPrivateKey;
-// Returns a new SSLPrivateKey which uses |key| for signing operations or
-// nullptr on error.
+// Wraps a ScopedEVP_PKEY into an SSLPrivateKey.
NET_EXPORT scoped_refptr<SSLPrivateKey> WrapOpenSSLPrivateKey(
crypto::ScopedEVP_PKEY key);
} // namespace net
-#endif // NET_SSL_SSL_PLATFORM_KEY_TEST_H_
+#endif // NET_SSL_SSL_PLATFORM_KEY_ANDROID_H_
« no previous file with comments | « net/ssl/openssl_client_key_store_unittest.cc ('k') | net/ssl/ssl_platform_key_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698