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

Unified Diff: net/ssl/ssl_platform_key_nss.cc

Issue 1178193002: Sign CertificateVerify messages on a background thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more mac build fix, this is blind while mac checkout syncs Created 5 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_mac.cc ('k') | net/ssl/ssl_platform_key_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/ssl_platform_key_nss.cc
diff --git a/net/ssl/openssl_platform_key_nss.cc b/net/ssl/ssl_platform_key_nss.cc
similarity index 56%
rename from net/ssl/openssl_platform_key_nss.cc
rename to net/ssl/ssl_platform_key_nss.cc
index a9471e4452301d3e8d3b5eb86bd1b569d2476759..568f4b161e28f9e9d4dd8964abb05f5559ca1589 100644
--- a/net/ssl/openssl_platform_key_nss.cc
+++ b/net/ssl/ssl_platform_key_nss.cc
@@ -2,13 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "net/ssl/ssl_platform_key.h"
+
#include "base/logging.h"
-#include "net/ssl/openssl_platform_key.h"
+#include "base/sequenced_task_runner.h"
+#include "net/ssl/ssl_private_key.h"
namespace net {
-crypto::ScopedEVP_PKEY FetchClientCertPrivateKey(
- const X509Certificate* certificate) {
+scoped_ptr<SSLPrivateKey> FetchClientCertPrivateKey(
+ X509Certificate* certificate,
+ scoped_refptr<base::SequencedTaskRunner> task_runner) {
// TODO(davidben): Implement client auth for NSS. https://crbug.com/479036
NOTIMPLEMENTED();
return nullptr;
« no previous file with comments | « net/ssl/ssl_platform_key_mac.cc ('k') | net/ssl/ssl_platform_key_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698