summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-09 21:29:42 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-09 21:29:42 +0000
commit9c144b36aff3cb827c21ffb1b63424d249395d52 (patch)
treed2663fdb8bc3a2c72d1089b8a953171196ce6fab
parent5f97569ef6c413be4aa9078d10907a0e752b43d5 (diff)
downloadchromium_src-9c144b36aff3cb827c21ffb1b63424d249395d52.zip
chromium_src-9c144b36aff3cb827c21ffb1b63424d249395d52.tar.gz
chromium_src-9c144b36aff3cb827c21ffb1b63424d249395d52.tar.bz2
Fix crypto target on linux-redux when using clang
BUG=none R=wtc Review URL: https://chromiumcodereview.appspot.com/14598019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199272 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--crypto/secure_hash_openssl.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/secure_hash_openssl.cc b/crypto/secure_hash_openssl.cc
index 743057b..84d28a5 100644
--- a/crypto/secure_hash_openssl.cc
+++ b/crypto/secure_hash_openssl.cc
@@ -30,18 +30,18 @@ class SecureHashSHA256OpenSSL : public SecureHash {
OPENSSL_cleanse(&ctx_, sizeof(ctx_));
}
- virtual void Update(const void* input, size_t len) {
+ virtual void Update(const void* input, size_t len) OVERRIDE {
SHA256_Update(&ctx_, static_cast<const unsigned char*>(input), len);
}
- virtual void Finish(void* output, size_t len) {
+ virtual void Finish(void* output, size_t len) OVERRIDE {
ScopedOpenSSLSafeSizeBuffer<SHA256_DIGEST_LENGTH> result(
static_cast<unsigned char*>(output), len);
SHA256_Final(result.safe_buffer(), &ctx_);
}
- virtual bool Serialize(Pickle* pickle);
- virtual bool Deserialize(PickleIterator* data_iterator);
+ virtual bool Serialize(Pickle* pickle) OVERRIDE;
+ virtual bool Deserialize(PickleIterator* data_iterator) OVERRIDE;
private:
SHA256_CTX ctx_;