]> git.notmuchmail.org Git - notmuch/blobdiff - lib/libsha1.c
Merge branch 'release'
[notmuch] / lib / libsha1.c
index c39a5a174b9c9ea4bf5369ce7fe9af27cf1d52b6..5d16f6ab1a61363dbbcec827496842ba113338fd 100644 (file)
@@ -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;