diff options
author | Pieter Praet <pieter@praet.org> | 2011-06-20 22:14:21 +0200 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2011-06-23 15:58:39 -0700 |
commit | 8bb6f7869c4c98190f010d60409938b1c50c5968 (patch) | |
tree | 9872945a723a4c357572db8340c1e5090c7683ba /lib/libsha1.c | |
parent | 730acd4764535e19f4a461753a3ea1623af42f71 (diff) |
fix sum moar typos [comments in source code]
Various typo fixes in comments within the source code.
Signed-off-by: Pieter Praet <pieter@praet.org>
Edited-by: Carl Worth <cworth@cworth.org> Restricted to just
source-code comments, (and fixed fix of "descriptios" to "descriptors"
rather than "descriptions").
Diffstat (limited to 'lib/libsha1.c')
-rw-r--r-- | lib/libsha1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libsha1.c b/lib/libsha1.c index c39a5a17..5d16f6ab 100644 --- a/lib/libsha1.c +++ b/lib/libsha1.c @@ -174,7 +174,7 @@ void sha1_hash(const unsigned char data[], unsigned long len, sha1_ctx ctx[1]) if((ctx->count[0] += len) < len) ++(ctx->count[1]); - while(len >= space) /* tranfer whole blocks if possible */ + while(len >= space) /* transfer whole blocks if possible */ { memcpy(((unsigned char*)ctx->wbuf) + pos, sp, space); sp += space; len -= space; space = SHA1_BLOCK_SIZE; pos = 0; |