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

Unified Diff: base/crypto/signature_creator_nss.cc

Issue 218035: Add a TODO comment to describe when we can remove the const_cast for... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/crypto/signature_creator_nss.cc
===================================================================
--- base/crypto/signature_creator_nss.cc (revision 27096)
+++ base/crypto/signature_creator_nss.cc (working copy)
@@ -47,6 +47,8 @@
}
bool SignatureCreator::Update(const uint8* data_part, int data_part_len) {
+ // TODO(wtc): Remove this const_cast when we require NSS 3.12.5.
+ // See NSS bug https://bugzilla.mozilla.org/show_bug.cgi?id=518255
SECStatus rv = SGN_Update(sign_context_,
const_cast<unsigned char*>(data_part),
data_part_len);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698