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

Unified Diff: webkit/plugins/ppapi/ppapi_plugin_instance.cc

Issue 10917308: Remove the checksum/HMAC code from the decryptor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix proxy_decryptor_unittest. Created 8 years, 3 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 | « webkit/media/crypto/proxy_decryptor_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppapi_plugin_instance.cc
diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.cc b/webkit/plugins/ppapi/ppapi_plugin_instance.cc
index cd03fa9704556d883c7402e5d4498f292305e56e..3a357a8e5fc0b716417c5396fc92368ce26dcb16 100644
--- a/webkit/plugins/ppapi/ppapi_plugin_instance.cc
+++ b/webkit/plugins/ppapi/ppapi_plugin_instance.cc
@@ -359,13 +359,11 @@ bool MakeEncryptedBlockInfo(
block_info->data_offset = decrypt_config.data_offset();
if (!CopyStringToArray(decrypt_config.key_id(), block_info->key_id) ||
- !CopyStringToArray(decrypt_config.iv(), block_info->iv) ||
- !CopyStringToArray(decrypt_config.checksum(), block_info->checksum))
+ !CopyStringToArray(decrypt_config.iv(), block_info->iv))
return false;
block_info->key_id_size = decrypt_config.key_id().size();
block_info->iv_size = decrypt_config.iv().size();
- block_info->checksum_size = decrypt_config.checksum().size();
if (decrypt_config.subsamples().size() > arraysize(block_info->subsamples))
return false;
« no previous file with comments | « webkit/media/crypto/proxy_decryptor_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698