| 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;
|
|
|