X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gosthash2012.c;h=9548bfb5492318313b83e631256479bbc4d43cc8;hb=1a2714eb8f2c526517a01c90bb02ccd0e22f4c08;hp=60fa43696b6bd2efd0c7198d836b183c00a38d11;hpb=053ecb0a582e2dbfba5ddd6dc8dafb5698051ac4;p=openssl-gost%2Fengine.git diff --git a/gosthash2012.c b/gosthash2012.c index 60fa436..9548bfb 100644 --- a/gosthash2012.c +++ b/gosthash2012.c @@ -195,7 +195,6 @@ static INLINE void stage3(gost2012_hash_ctx * CTX) void gost2012_hash_block(gost2012_hash_ctx * CTX, const unsigned char *data, size_t len) { - register size_t chunksize; register size_t bufsize = CTX->bufsize; if (bufsize == 0) { @@ -208,7 +207,7 @@ void gost2012_hash_block(gost2012_hash_ctx * CTX, } while (len) { - chunksize = 64 - bufsize; + register size_t chunksize = 64 - bufsize; if (chunksize > len) chunksize = len;