summaryrefslogtreecommitdiffhomepage
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/sha1.c2
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)
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;