Fix typo.

This commit is contained in:
Moinak Ghosh 2012-10-03 22:47:16 +05:30
parent 2578676b1b
commit c880b73d26

View file

@ -345,7 +345,7 @@ compute_checksum(uchar_t *cksum_buf, int cksum, uchar_t *buf, ssize_t bytes)
SHA256_Update(&ctx, buf, bytes); SHA256_Update(&ctx, buf, bytes);
SHA256_Final(cksum_buf, &ctx); SHA256_Final(cksum_buf, &ctx);
} else if (cksum == CKSUM_SKEIN512) { } else if (cksum == CKSUM_SHA512) {
SHA512_CTX ctx; SHA512_CTX ctx;
SHA512_Init(&ctx); SHA512_Init(&ctx);