summaryrefslogtreecommitdiff
path: root/libbb/sha1.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/sha1.c')
-rw-r--r--libbb/sha1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/sha1.c b/libbb/sha1.c
index 44ea4eb..ae72e4d 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)
if ((ctx->count[0] += length) < length)
ctx->count[1]++;
- while (length >= freeb) { /* tranfer whole blocks while possible */
+ while (length >= freeb) { /* transfer whole blocks while possible */
memcpy(((unsigned char *) ctx->wbuf) + pos, sp, freeb);
sp += freeb;
length -= freeb;