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

Issue 2577223002: Better tests for password protected documents. (Closed)

Created:
4 years ago by Tom Sepez
Modified:
4 years ago
Reviewers:
dsinclair
CC:
pdfium-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Better tests for password protected documents. - Add unit tests for sha256 implementation. - Remove void* types from API in favor of correct actual types. Review-Url: https://codereview.chromium.org/2577223002 Committed: https://pdfium.googlesource.com/pdfium/+/ad3cd2aeff15bd31aa38544063075d910ac63823

Patch Set 1 #

Patch Set 2 : argname #

Patch Set 3 : Fix API and add tests #

Total comments: 1

Patch Set 4 : Tidy up #

Patch Set 5 : revert pdfium_test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -128 lines) Patch
M core/fdrm/crypto/fx_crypt.h View 1 2 3 chunks +46 lines, -14 lines 0 comments Download
M core/fdrm/crypto/fx_crypt_sha.cpp View 1 2 19 chunks +58 lines, -54 lines 0 comments Download
M core/fdrm/crypto/fx_crypt_unittest.cpp View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
M core/fpdfapi/parser/cpdf_security_handler.cpp View 1 2 3 6 chunks +65 lines, -58 lines 0 comments Download
M xfa/fxfa/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M xfa/fxfa/app/xfa_checksum.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M xfa/fxfa/xfa_checksum.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 24 (17 generated)
Tom Sepez
Dan, for review.
4 years ago (2016-12-15 22:02:50 UTC) #4
Tom Sepez
Dan, more stuff, might as well lump this together.
4 years ago (2016-12-15 23:35:53 UTC) #8
Tom Sepez
https://codereview.chromium.org/2577223002/diff/40001/core/fdrm/crypto/fx_crypt.h File core/fdrm/crypto/fx_crypt.h (right): https://codereview.chromium.org/2577223002/diff/40001/core/fdrm/crypto/fx_crypt.h#newcode16 core/fdrm/crypto/fx_crypt.h:16: typedef struct { nit: just to make this compile ...
4 years ago (2016-12-15 23:48:49 UTC) #13
dsinclair
lgtm
4 years ago (2016-12-16 03:44:58 UTC) #16
Tom Sepez
Removed password option from pdfium_test, we can already do this via embedder tests, no need ...
4 years ago (2016-12-16 19:05:31 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2577223002/80001
4 years ago (2016-12-16 19:05:44 UTC) #21
commit-bot: I haz the power
4 years ago (2016-12-16 19:16:27 UTC) #24
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://pdfium.googlesource.com/pdfium/+/ad3cd2aeff15bd31aa38544063075d910ac6...

Powered by Google App Engine
This is Rietveld 408576698