diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/sha1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/sha1.c b/libbb/sha1.c index 44ea4eb47..ae72e4da7 100644 --- a/libbb/sha1.c +++ b/libbb/sha1.c | |||
@@ -97,7 +97,7 @@ void FAST_FUNC sha1_hash(const void *data, size_t length, sha1_ctx_t *ctx) | |||
97 | if ((ctx->count[0] += length) < length) | 97 | if ((ctx->count[0] += length) < length) |
98 | ctx->count[1]++; | 98 | ctx->count[1]++; |
99 | 99 | ||
100 | while (length >= freeb) { /* tranfer whole blocks while possible */ | 100 | while (length >= freeb) { /* transfer whole blocks while possible */ |
101 | memcpy(((unsigned char *) ctx->wbuf) + pos, sp, freeb); | 101 | memcpy(((unsigned char *) ctx->wbuf) + pos, sp, freeb); |
102 | sp += freeb; | 102 | sp += freeb; |
103 | length -= freeb; | 103 | length -= freeb; |