diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-25 01:30:39 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-25 01:30:39 +0000 |
commit | 1e33d6cb4713fcc2ea3f50d0520a1ba49125fd69 (patch) | |
tree | 0fe58eee68c8fb2f2865d5a090c592ec44ff1b3e /base/crypto | |
parent | 3dec92a6d04c67f7fb15981dc9c6e3f881663fef (diff) | |
download | chromium_src-1e33d6cb4713fcc2ea3f50d0520a1ba49125fd69.zip chromium_src-1e33d6cb4713fcc2ea3f50d0520a1ba49125fd69.tar.gz chromium_src-1e33d6cb4713fcc2ea3f50d0520a1ba49125fd69.tar.bz2 |
Add a TODO comment to describe when we can remove the const_cast for
the NSS function SGN_Update.
R=rafaelw
BUG=20669
TEST=none
Review URL: http://codereview.chromium.org/218035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27163 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/crypto')
-rw-r--r-- | base/crypto/signature_creator_nss.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/crypto/signature_creator_nss.cc b/base/crypto/signature_creator_nss.cc index 7108975..e0de4b7 100644 --- a/base/crypto/signature_creator_nss.cc +++ b/base/crypto/signature_creator_nss.cc @@ -47,6 +47,8 @@ SignatureCreator::~SignatureCreator() { } 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); |