Chromium Code Reviews| Index: content/renderer/webcrypto_impl_openssl.cc |
| diff --git a/content/renderer/webcrypto_impl_openssl.cc b/content/renderer/webcrypto_impl_openssl.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b9e0814aa7f808046d19606106b3ec07fc4f168b |
| --- /dev/null |
| +++ b/content/renderer/webcrypto_impl_openssl.cc |
| @@ -0,0 +1,21 @@ |
| +// 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 "content/renderer/webcrypto_impl.h" |
| + |
| +namespace content { |
| + |
| +void WebCryptoImpl::digest( |
| + const WebKit::WebCryptoAlgorithm& algorithm, |
| + const unsigned char* data, |
| + size_t data_size, |
| + WebKit::WebCryptoResult result) { |
| + // TODO(bryaneyler): Placeholder for OpenSSL implementation. Issue 267888. |
| + (void)algorithm; |
|
eroman
2013/08/22 23:15:12
What is the purpose of these (void)?
If you are g
Bryan Eyler
2013/08/23 01:22:11
This was more just preemptive to avoid a compiler
jamesr
2013/08/23 01:27:40
I don't think we generate such warnings. Just remo
|
| + (void)data; |
| + (void)data_size; |
| + result.completeWithError(); |
| +} |
| + |
| +} // namespace content |