From 8bb6f7869c4c98190f010d60409938b1c50c5968 Mon Sep 17 00:00:00 2001 From: Pieter Praet Date: Mon, 20 Jun 2011 22:14:21 +0200 Subject: fix sum moar typos [comments in source code] Various typo fixes in comments within the source code. Signed-off-by: Pieter Praet Edited-by: Carl Worth Restricted to just source-code comments, (and fixed fix of "descriptios" to "descriptors" rather than "descriptions"). --- lib/libsha1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libsha1.c') 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; -- cgit v1.2.3