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

Side by Side Diff: content/renderer/webcrypto_impl_openssl.cc

Issue 19757011: WebCrypto: Implement digest() using NSS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix leak of hash context. Created 7 years, 4 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/renderer/webcrypto_impl.h"
6
7 namespace content {
8
9 void WebCryptoImpl::digest(
10 const WebKit::WebCryptoAlgorithm& algorithm,
11 const unsigned char* data,
12 size_t data_size,
13 WebKit::WebCryptoResult result) {
14 // TODO(bryaneyler): Placeholder for OpenSSL implementation. Issue 267888.
15 (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
16 (void)data;
17 (void)data_size;
18 result.completeWithError();
19 }
20
21 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698