whitespace
This commit is contained in:
parent
61634286d3
commit
304ddbfedd
@ -5,12 +5,12 @@
|
||||
* terms of the GNU General Public License as published by the Free Software
|
||||
* Foundation, either version 3 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
*
|
||||
* libgim is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||
* details.
|
||||
*
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with libgim. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
@ -100,7 +100,7 @@ SHA1::update (const uint8_t *data, size_t size) {
|
||||
// Copy the data into the remaining available buffer slots
|
||||
const size_t offset = total % BLOCK_BYTES;
|
||||
const size_t chunk = std::min (BLOCK_BYTES - offset, size);
|
||||
|
||||
|
||||
std::copy (data, data + chunk, c + offset);
|
||||
|
||||
total += chunk;
|
||||
|
@ -5,12 +5,12 @@
|
||||
* terms of the GNU General Public License as published by the Free Software
|
||||
* Foundation, either version 3 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
*
|
||||
* libgim is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||
* details.
|
||||
*
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with libgim. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user