summaryrefslogtreecommitdiff
path: root/yarrow256.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2001-11-02 15:50:41 +0100
committerNiels Möller <nisse@lysator.liu.se>2001-11-02 15:50:41 +0100
commitbe33038997dbdadc1345d703f8570a7125489631 (patch)
treecce02731a4c45c39bfbd49c91801c89c97fcb303 /yarrow256.c
parent69da17efc6a9c872a1da16873eac40ae0ca1b450 (diff)
downloadnettle-be33038997dbdadc1345d703f8570a7125489631.tar.gz
(yarrow256_init): Fixed order of code and
declarations. Rev: src/nettle/yarrow256.c:1.10
Diffstat (limited to 'yarrow256.c')
-rw-r--r--yarrow256.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/yarrow256.c b/yarrow256.c
index 3b31bf68..e62429d4 100644
--- a/yarrow256.c
+++ b/yarrow256.c
@@ -65,9 +65,10 @@ yarrow256_init(struct yarrow256_ctx *ctx,
unsigned n,
struct yarrow_source *s)
{
+ unsigned i;
+
sha256_init(&ctx->pools[0]);
sha256_init(&ctx->pools[1]);
- unsigned i;
ctx->seeded = 0;