Fix typo.
This commit is contained in:
parent
2578676b1b
commit
c880b73d26
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue