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

Unified Diff: trunk/src/crypto/signature_creator_nss.cc

Issue 18414004: Revert 209515 "Reland http://crrev.com/209278" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 6 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 | « trunk/src/crypto/nss_util.cc ('k') | trunk/src/net/cert/cert_verify_proc_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/crypto/signature_creator_nss.cc
===================================================================
--- trunk/src/crypto/signature_creator_nss.cc (revision 209533)
+++ trunk/src/crypto/signature_creator_nss.cc (working copy)
@@ -44,7 +44,11 @@
}
bool SignatureCreator::Update(const uint8* data_part, int data_part_len) {
- SECStatus rv = SGN_Update(sign_context_, data_part, 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);
if (rv != SECSuccess) {
NOTREACHED();
return false;
« no previous file with comments | « trunk/src/crypto/nss_util.cc ('k') | trunk/src/net/cert/cert_verify_proc_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698