From 3a524e5ba2d7bb0c46e11502822f8093dd2ab0f4 Mon Sep 17 00:00:00 2001 From: Igor Pavlov Date: Wed, 31 Dec 2008 00:00:00 +0000 Subject: 4.63 --- CPP/7zip/Archive/Zip/ZipHandlerOut.cpp | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'CPP/7zip/Archive/Zip/ZipHandlerOut.cpp') diff --git a/CPP/7zip/Archive/Zip/ZipHandlerOut.cpp b/CPP/7zip/Archive/Zip/ZipHandlerOut.cpp index ea46e131..fe2c16e7 100755 --- a/CPP/7zip/Archive/Zip/ZipHandlerOut.cpp +++ b/CPP/7zip/Archive/Zip/ZipHandlerOut.cpp @@ -1,22 +1,25 @@ -// Zip/HandlerOut.cpp +// ZipHandlerOut.cpp #include "StdAfx.h" -#include "ZipHandler.h" -#include "ZipUpdate.h" - -#include "Common/StringConvert.h" #include "Common/ComTry.h" +#include "Common/StringConvert.h" #include "Common/StringToInt.h" #include "Windows/PropVariant.h" #include "Windows/Time.h" #include "../../IPassword.h" + +#include "../../Common/OutBuffer.h" + +#include "../../Crypto/WzAes.h" + #include "../Common/ItemNameUtils.h" #include "../Common/ParseProperties.h" -#include "../../Crypto/WzAES/WzAES.h" -#include "../../Common/OutBuffer.h" + +#include "ZipHandler.h" +#include "ZipUpdate.h" using namespace NWindows; using namespace NCOM; @@ -253,7 +256,7 @@ STDMETHODIMP CHandler::UpdateItems(ISequentialOutStream *outStream, UInt32 numIt return E_INVALIDARG; if (m_IsAesMode) { - if (options.Password.Length() > NCrypto::NWzAES::kPasswordSizeMax) + if (options.Password.Length() > NCrypto::NWzAes::kPasswordSizeMax) return E_INVALIDARG; } options.Password = UnicodeStringToMultiByte((const wchar_t *)password, CP_OEMCP); -- cgit v1.2.3