From: Niels Möller Date: Fri, 2 Nov 2001 14:50:41 +0000 (+0100) Subject: (yarrow256_init): Fixed order of code and X-Git-Tag: nettle_1.5_release_20020131~108 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be33038997dbdadc1345d703f8570a7125489631;p=thirdparty%2Fnettle.git (yarrow256_init): Fixed order of code and declarations. Rev: src/nettle/yarrow256.c:1.10 --- 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;