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

Unified Diff: xfa/fxfa/xfa_checksum.h

Issue 2577223002: Better tests for password protected documents. (Closed)
Patch Set: revert pdfium_test Created 4 years 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 | « xfa/fxfa/app/xfa_checksum.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fxfa/xfa_checksum.h
diff --git a/xfa/fxfa/xfa_checksum.h b/xfa/fxfa/xfa_checksum.h
index 32862c94c344e69ee14fda4a2b40512bf2060caa..45c3db59c97e4137fb9f7b293a5b81d47d534502 100644
--- a/xfa/fxfa/xfa_checksum.h
+++ b/xfa/fxfa/xfa_checksum.h
@@ -7,6 +7,7 @@
#ifndef XFA_FXFA_XFA_CHECKSUM_H_
#define XFA_FXFA_XFA_CHECKSUM_H_
+#include "core/fdrm/crypto/fx_crypt.h"
#include "xfa/fde/xml/cfx_saxreader.h"
#include "xfa/fxfa/fxfa.h"
@@ -70,7 +71,7 @@ class CXFA_ChecksumContext {
protected:
CFX_SAXReader* m_pSAXReader;
- uint8_t* m_pByteContext;
+ CRYPT_sha1_context* m_pByteContext;
CFX_ByteString m_bsChecksum;
};
« no previous file with comments | « xfa/fxfa/app/xfa_checksum.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698