summaryrefslogtreecommitdiff
path: root/sha512.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2014-04-09 14:43:30 +0200
committerNiels Möller <nisse@lysator.liu.se>2014-04-09 14:43:30 +0200
commit27ee8ac2c481d1893eb94db011ee134b3f59f8e3 (patch)
tree97dc7d015e5e170239b2eb798e9955ad4854e048 /sha512.c
parent088b606bb33e6ebf41422c6981e2067482cfaaa6 (diff)
downloadnettle-27ee8ac2c481d1893eb94db011ee134b3f59f8e3.tar.gz
Fixed init call in sha512_256_digest.
Diffstat (limited to 'sha512.c')
-rw-r--r--sha512.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sha512.c b/sha512.c
index 24547e0d..118bf260 100644
--- a/sha512.c
+++ b/sha512.c
@@ -302,5 +302,5 @@ sha512_256_digest(struct sha512_ctx *ctx,
assert(length <= SHA256_DIGEST_SIZE);
sha512_write_digest(ctx, length, digest);
- sha512_224_init(ctx);
+ sha512_256_init(ctx);
}