| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Defines an in-memory private key store, primarily used for testing. | 5 // Defines an in-memory private key store, primarily used for testing. |
| 6 | 6 |
| 7 #include "net/base/openssl_private_key_store.h" | 7 #include "net/base/openssl_private_key_store.h" |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 bool OpenSSLPrivateKeyStore::StoreKeyPair(const GURL& url, | 64 bool OpenSSLPrivateKeyStore::StoreKeyPair(const GURL& url, |
| 65 EVP_PKEY* pkey) { | 65 EVP_PKEY* pkey) { |
| 66 return MemoryKeyPairStore::GetInstance()->StoreKeyPair(pkey); | 66 return MemoryKeyPairStore::GetInstance()->StoreKeyPair(pkey); |
| 67 } | 67 } |
| 68 | 68 |
| 69 bool OpenSSLPrivateKeyStore::HasPrivateKey(EVP_PKEY* pub_key) { | 69 bool OpenSSLPrivateKeyStore::HasPrivateKey(EVP_PKEY* pub_key) { |
| 70 return MemoryKeyPairStore::GetInstance()->HasPrivateKey(pub_key); | 70 return MemoryKeyPairStore::GetInstance()->HasPrivateKey(pub_key); |
| 71 } | 71 } |
| 72 | 72 |
| 73 } // namespace net | 73 } // namespace net |
| 74 | |
| OLD | NEW |