diff options
author | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-10 16:10:55 +0000 |
---|---|---|
committer | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-10 16:10:55 +0000 |
commit | f53cb5cac8c6296953349373f6f5502f5f969760 (patch) | |
tree | 99c6b363857b6cefc07e2af11d703305e47c5f47 | |
parent | acd3d771eb5cbc5f2b8c2f6fcbc653d04bcc35cf (diff) | |
download | chromium_src-f53cb5cac8c6296953349373f6f5502f5f969760.zip chromium_src-f53cb5cac8c6296953349373f6f5502f5f969760.tar.gz chromium_src-f53cb5cac8c6296953349373f6f5502f5f969760.tar.bz2 |
Adds empty implementation of CryptoModule for openssl
BUG=none
TEST=compiles with use_openssl=1
Review URL: http://codereview.chromium.org/6657033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77643 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | net/base/crypto_module_openssl.cc | 27 | ||||
-rw-r--r-- | net/net.gyp | 2 |
2 files changed, 29 insertions, 0 deletions
diff --git a/net/base/crypto_module_openssl.cc b/net/base/crypto_module_openssl.cc new file mode 100644 index 0000000..3ef050f --- /dev/null +++ b/net/base/crypto_module_openssl.cc @@ -0,0 +1,27 @@ +// 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. + +#include "base/logging.h" +#include "net/base/crypto_module.h" + +namespace net { + +std::string CryptoModule::GetTokenName() const { + NOTIMPLEMENTED(); + return ""; +} + +// static +CryptoModule* CryptoModule::CreateFromHandle(OSModuleHandle handle) { + NOTIMPLEMENTED(); + return NULL; +} + +CryptoModule::CryptoModule(OSModuleHandle handle) : module_handle_(handle) { +} + +CryptoModule::~CryptoModule() { +} + +} // namespace net diff --git a/net/net.gyp b/net/net.gyp index 3c3e44e..12b2a95 100644 --- a/net/net.gyp +++ b/net/net.gyp @@ -56,6 +56,7 @@ 'base/cookie_store.h', 'base/crypto_module.h', 'base/crypto_module_nss.cc', + 'base/crypto_module_openssl.cc', 'base/data_url.cc', 'base/data_url.h', 'base/directory_lister.cc', @@ -301,6 +302,7 @@ { # else: not using openssl. 'sources!': [ 'base/cert_database_openssl.cc', + 'base/crypto_module_openssl.cc', 'base/keygen_handler_openssl.cc', 'base/openssl_memory_private_key_store.cc', 'base/openssl_private_key_store.h', |