projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pull delete-sigdelayed into release branch
[powerpc.git]
/
crypto
/
sha1.c
diff --git
a/crypto/sha1.c
b/crypto/sha1.c
index
8048e2d
..
21571ed
100644
(file)
--- a/
crypto/sha1.c
+++ b/
crypto/sha1.c
@@
-61,8
+61,8
@@
static void sha1_update(void *ctx, const u8 *data, unsigned int len)
u32 temp[SHA_WORKSPACE_WORDS];
if (partial) {
- done =
64 -
partial;
- memcpy(sctx->buffer + partial, data, done);
+ done =
-
partial;
+ memcpy(sctx->buffer + partial, data, done
+ 64
);
src = sctx->buffer;
}