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

Unified Diff: net/base/openssl_private_key_store_memory.cc

Issue 12220104: Wire up SSL client authentication for OpenSSL/Android through the net/ stack (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: address nits Created 7 years, 10 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
Index: net/base/openssl_private_key_store_memory.cc
diff --git a/net/base/openssl_private_key_store_memory.cc b/net/base/openssl_private_key_store_memory.cc
new file mode 100644
index 0000000000000000000000000000000000000000..340510d1cd519b6579a17a27498da4be80c7dfee
--- /dev/null
+++ b/net/base/openssl_private_key_store_memory.cc
@@ -0,0 +1,23 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Defines an in-memory private key store, primarily used for testing.
+
+#include "net/base/openssl_private_key_store.h"
+
+#include "base/logging.h"
+#include "base/memory/singleton.h"
+#include "base/synchronization/lock.h"
+#include "net/base/x509_certificate.h"
+
+namespace net {
+
+bool OpenSSLPrivateKeyStore::StoreKeyPair(const GURL& url,
+ EVP_PKEY* pkey) {
+ // There is no key store here, so don't do anything.
+ return true;
+}
+
+} // namespace net
+

Powered by Google App Engine
This is Rietveld 408576698