From 323c7f177ec76fa64dfe239806d0f5ba365c51c7 Mon Sep 17 00:00:00 2001 From: kh1 Date: Tue, 30 Apr 2013 14:04:20 +0200 Subject: Reset to only use the basic LZMA SDK (Unix). Change-Id: Ic7607229197f74cdf88c46684b1413e00466185d Reviewed-by: Niels Weber --- .../unix/CPP/7zip/Archive/Common/OutStreamWithSha1.cpp | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 src/libs/7zip/unix/CPP/7zip/Archive/Common/OutStreamWithSha1.cpp (limited to 'src/libs/7zip/unix/CPP/7zip/Archive/Common/OutStreamWithSha1.cpp') diff --git a/src/libs/7zip/unix/CPP/7zip/Archive/Common/OutStreamWithSha1.cpp b/src/libs/7zip/unix/CPP/7zip/Archive/Common/OutStreamWithSha1.cpp deleted file mode 100644 index 0526c1b1d..000000000 --- a/src/libs/7zip/unix/CPP/7zip/Archive/Common/OutStreamWithSha1.cpp +++ /dev/null @@ -1,18 +0,0 @@ -// OutStreamWithSha1.cpp - -#include "StdAfx.h" - -#include "OutStreamWithSha1.h" - -STDMETHODIMP COutStreamWithSha1::Write(const void *data, UInt32 size, UInt32 *processedSize) -{ - HRESULT result = S_OK; - if (_stream) - result = _stream->Write(data, size, &size); - if (_calculate) - _sha.Update((const Byte *)data, size); - _size += size; - if (processedSize != NULL) - *processedSize = size; - return result; -} -- cgit v1.2.3