mirror of
https://github.com/moparisthebest/curl
synced 2024-12-24 00:58:48 -05: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
@ -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…
Reference in New Issue
Block a user