mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 19:14:56 -06:00
9.10 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
1fbaf0aac5
commit
db5eb6d638
@@ -162,19 +162,15 @@ HRESULT CAddCommon::Compress(
|
||||
{
|
||||
_cryptoStreamSpec->Filter = _filterAesSpec = new NCrypto::NWzAes::CEncoder;
|
||||
_filterAesSpec->SetKeyMode(_options.AesKeyMode);
|
||||
RINOK(_filterAesSpec->CryptoSetPassword(
|
||||
(const Byte *)(const char *)_options.Password, _options.Password.Length()));
|
||||
RINOK(_filterAesSpec->CryptoSetPassword((const Byte *)(const char *)_options.Password, _options.Password.Length()));
|
||||
}
|
||||
RINOK(_filterAesSpec->WriteHeader(outStream));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!_cryptoStreamSpec->Filter)
|
||||
{
|
||||
_cryptoStreamSpec->Filter = _filterSpec = new NCrypto::NZip::CEncoder;
|
||||
RINOK(_filterSpec->CryptoSetPassword(
|
||||
(const Byte *)(const char *)_options.Password, _options.Password.Length()));
|
||||
}
|
||||
RINOK(_filterSpec->CryptoSetPassword((const Byte *)(const char *)_options.Password, _options.Password.Length()));
|
||||
UInt32 crc = 0;
|
||||
RINOK(GetStreamCRC(inStream, crc));
|
||||
RINOK(inCrcStreamSpec->Seek(0, STREAM_SEEK_SET, NULL));
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#define MY_VER_MAJOR 9
|
||||
#define MY_VER_MINOR 9
|
||||
#define MY_VER_MINOR 10
|
||||
#define MY_VER_BUILD 0
|
||||
#define MY_VERSION "9.09 beta"
|
||||
#define MY_7ZIP_VERSION "7-Zip 9.09 beta"
|
||||
#define MY_DATE "2009-12-12"
|
||||
#define MY_VERSION "9.10 beta"
|
||||
#define MY_7ZIP_VERSION "7-Zip 9.10 beta"
|
||||
#define MY_DATE "2009-12-22"
|
||||
#define MY_COPYRIGHT "Copyright (c) 1999-2009 Igor Pavlov"
|
||||
#define MY_VERSION_COPYRIGHT_DATE MY_VERSION " " MY_COPYRIGHT " " MY_DATE
|
||||
|
||||
Reference in New Issue
Block a user