mirror of
https://github.com/curl/curl.git
synced 2026-04-15 08:51:46 +03:00
sha256: move assign to the declaration line
Follow-up to fae30656. Should've been squashed with that commit...
This commit is contained in:
parent
fae3065676
commit
557dde201c
1 changed files with 1 additions and 2 deletions
|
|
@ -223,8 +223,7 @@ static void SHA256_Update(SHA256_CTX *ctx,
|
|||
|
||||
static void SHA256_Final(unsigned char *digest, SHA256_CTX *ctx)
|
||||
{
|
||||
unsigned long length;
|
||||
length = 0;
|
||||
unsigned long length = 0;
|
||||
|
||||
CryptGetHashParam(ctx->hHash, HP_HASHVAL, NULL, &length, 0);
|
||||
if(length == SHA256_DIGEST_LENGTH)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue