"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "CPP/Common/Sha1Reg.cpp" between
p7zip_15.14.1_src_all.tar.gz and p7zip_16.02_src_all.tar.gz

About: p7zip is a command-line file archiver with a high compression ratio (a port of the Windows program 7za.exe).

Sha1Reg.cpp  (p7zip_15.14.1_src_all):Sha1Reg.cpp  (p7zip_16.02_src_all)
skipping to change at line 21 skipping to change at line 21
class CSha1Hasher: class CSha1Hasher:
public IHasher, public IHasher,
public CMyUnknownImp public CMyUnknownImp
{ {
CSha1 _sha; CSha1 _sha;
Byte mtDummy[1 << 7]; Byte mtDummy[1 << 7];
public: public:
CSha1Hasher() { Sha1_Init(&_sha); } CSha1Hasher() { Sha1_Init(&_sha); }
MY_UNKNOWN_IMP MY_UNKNOWN_IMP1(IHasher)
INTERFACE_IHasher(;) INTERFACE_IHasher(;)
}; };
STDMETHODIMP_(void) CSha1Hasher::Init() throw() STDMETHODIMP_(void) CSha1Hasher::Init() throw()
{ {
Sha1_Init(&_sha); Sha1_Init(&_sha);
} }
STDMETHODIMP_(void) CSha1Hasher::Update(const void *data, UInt32 size) throw() STDMETHODIMP_(void) CSha1Hasher::Update(const void *data, UInt32 size) throw()
{ {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS