Index: net/base/openssl_key_store.cc |
diff --git a/net/base/openssl_key_store.cc b/net/base/openssl_key_store.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ce577673bade44ac71033589c85f9be3f32e27bd |
--- /dev/null |
+++ b/net/base/openssl_key_store.cc |
@@ -0,0 +1,22 @@ |
+// Copyright (c) 2013 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. |
+ |
+#include "net/base/openssl_key_store.h" |
+ |
+#include "net/base/openssl_private_key_store.h" |
+ |
+namespace net { |
+ |
+bool UseOpenSSLClientCertSigningPrivateKey( |
+ const X509Certificate& client_cert, EVP_PKEY* private_key) { |
+ // This is just a public wrapper around |
+ // OpenSSLPrivateKeyStore::RecordClientCertPrivateKey() |
+ OpenSSLPrivateKeyStore* key_store = |
+ OpenSSLPrivateKeyStore::GetInstance(); |
+ |
+ return key_store->RecordClientCertPrivateKey(client_cert, private_key); |
+} |
+ |
+} // namespace net |
+ |