From a081931e2b00e3aadff2050f7d253e17c124c69f Mon Sep 17 00:00:00 2001 From: Artem Strygin Date: Tue, 3 Oct 2017 21:51:18 +0300 Subject: Move initialization of CPDF_CryptoHandler into CPDF_SytnaxParser initialization. Change-Id: I70d04f38767f2c17c41407fc9b4fc25519ba32f4 Reviewed-on: https://pdfium-review.googlesource.com/15330 Commit-Queue: Art Snake Reviewed-by: dsinclair --- core/fpdfapi/edit/cpdf_creator.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'core/fpdfapi/edit') diff --git a/core/fpdfapi/edit/cpdf_creator.cpp b/core/fpdfapi/edit/cpdf_creator.cpp index d6384059d1..eecf37b981 100644 --- a/core/fpdfapi/edit/cpdf_creator.cpp +++ b/core/fpdfapi/edit/cpdf_creator.cpp @@ -807,7 +807,6 @@ void CPDF_Creator::InitID() { m_pSecurityHandler = pdfium::MakeUnique(); m_pSecurityHandler->OnCreate(m_pEncryptDict.Get(), m_pIDArray.get(), user_pass, flag); - m_pSecurityHandler->InitCryptoHandler(); m_bSecurityChanged = true; } } -- cgit v1.2.3