diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-10 10:47:47 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-10 10:47:47 +0000 |
commit | c028ec280a71c45ba71bb4712db1968391a440cc (patch) | |
tree | 3ade5bb5fc1c0d7ee92eec47a2e3ca6d81f0fb59 /libbb | |
parent | 0a009c3c6b9b6d43575dcdda46076e7a87522426 (diff) | |
download | busybox-w32-c028ec280a71c45ba71bb4712db1968391a440cc.tar.gz busybox-w32-c028ec280a71c45ba71bb4712db1968391a440cc.tar.bz2 busybox-w32-c028ec280a71c45ba71bb4712db1968391a440cc.zip |
Typo fixes
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; |