| Index: crypto/signature_creator_nss.cc
|
| diff --git a/crypto/signature_creator_nss.cc b/crypto/signature_creator_nss.cc
|
| index 3a30efba480a3be7f76cd5a2715add5aa85d937e..82e444404c8f1f1bf3d9c7a9ca8b1065937b5dc8 100644
|
| --- a/crypto/signature_creator_nss.cc
|
| +++ b/crypto/signature_creator_nss.cc
|
| @@ -44,11 +44,7 @@ SignatureCreator* SignatureCreator::Create(RSAPrivateKey* key) {
|
| }
|
|
|
| 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);
|
| + SECStatus rv = SGN_Update(sign_context_, data_part, data_part_len);
|
| if (rv != SECSuccess) {
|
| NOTREACHED();
|
| return false;
|
|
|